Intersoft ClientUI Documentation
ItemCount Property
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXInput Namespace > UXRating Class : ItemCount Property






Gets or sets the number of rating items to display in the control.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property ItemCount As Integer
Visual Basic (Usage)Copy Code
Dim instance As UXRating
Dim value As Integer
 
instance.ItemCount = value
 
value = instance.ItemCount
C# 
[CategoryAttribute("Common Properties")]
public int ItemCount {get; set;}
Delphi 
public read-write property ItemCount: Integer; 
JScript 
CategoryAttribute("Common Properties")
public function get,set ItemCount : int
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property int get_ItemCount();
public: __property void set_ItemCount( 
   int value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property int ItemCount {
   int get();
   void set (    int value);
}

Remarks

UXRating is an ItemsControl providing an ItemCount property to conveniently add instances of UXRatingItem to the Items collection. You can also specify your own item without using ItemCount by specifying the custom values in the Items property. In the case that Items property is specified, the ItemCount property will be ignored.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.