TextBoxCollection
İçindekiler
[
Saklamak
]TextBoxCollection class
Bir koleksiyonu kapsüllerTextBox nesneler.
public class TextBoxCollection : CollectionBase<TextBox>
Özellikleri
| İsim | Tanım |
|---|---|
| Capacity { get; set; } | |
| Count { get; } | |
| Item { get; } | TextBox belirtilen dizindeki öğe. (2 indexers) |
| Item { get; set; } |
yöntemler
| İsim | Tanım |
|---|---|
| Add(int, int, int, int) | Koleksiyona bir metin kutusu ekler. |
| BinarySearch(TextBox) | |
| BinarySearch(TextBox, IComparer<TextBox>) | |
| BinarySearch(int, int, TextBox, IComparer<TextBox>) | |
| Clear() | Tüm metin kutularını temizleyin. (2 methods) |
| Contains(TextBox) | |
| CopyTo(TextBox[]) | |
| CopyTo(TextBox[], int) | |
| CopyTo(int, TextBox[], int, int) | |
| Exists(Predicate<TextBox>) | |
| Find(Predicate<TextBox>) | |
| FindAll(Predicate<TextBox>) | |
| FindIndex(Predicate<TextBox>) | |
| FindIndex(int, Predicate<TextBox>) | |
| FindIndex(int, int, Predicate<TextBox>) | |
| FindLast(Predicate<TextBox>) | |
| FindLastIndex(Predicate<TextBox>) | |
| FindLastIndex(int, Predicate<TextBox>) | |
| FindLastIndex(int, int, Predicate<TextBox>) | |
| GetEnumerator() | |
| IndexOf(TextBox) | |
| IndexOf(TextBox, int) | |
| IndexOf(TextBox, int, int) | |
| LastIndexOf(TextBox) | |
| LastIndexOf(TextBox, int) | |
| LastIndexOf(TextBox, int, int) | |
| RemoveAt(int) | Dosyadan bir metin kutusunu kaldırın. (2 methods) |
Örnekler
[C#]
//Bir Çalışma Kitabı nesnesini başlatma
Workbook workbook = new Workbook();
// toplama nesnesini al
TextBoxCollection textBoxCollection = workbook.Worksheets[0].TextBoxes;
// bir metin kutusu ekle
textBoxCollection.Add(1, 1, 50, 100);
foreach(TextBox tbox in textBoxCollection)
{
//ne istiyorsan onu yap
}
//işini yap
Ayrıca bakınız
- class CollectionBase<T>
- class TextBox
- ad alanı Aspose.Cells.Drawing
- toplantı Aspose.Cells