Visual Basic (Declaration) | |
---|---|
<DescriptionAttribute("Size of each item (including image and text) in pixels.")> <CategoryAttribute("Appearance")> Public Property ItemSize As Size |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ImageList Dim value As Size instance.ItemSize = value value = instance.ItemSize |
C# | |
---|---|
[DescriptionAttribute("Size of each item (including image and text) in pixels.")] [CategoryAttribute("Appearance")] public Size ItemSize {get; set;} |
C++/CLI | |
---|---|
[DescriptionAttribute("Size of each item (including image and text) in pixels.")] [CategoryAttribute("Appearance")] public: property Size ItemSize { Size get(); void set ( Size value); } |
Property Value
The size of each item in pixels. Default value is 128, 128.For XAML example, refer to ItemBorderBrush.
For C#/VB examples, refer to ItemBorderBrush.
In WPF Express, default value is fixed at 128 X 128.
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family