The methods of the Item class are listed below. For a complete list of Item class members, see the Item Members topic.
ClearContents | Resets the data in the item to default value (null). |
Clone | Creates a deep copy of the Item. |
Dispose | |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
MeasureTextSize | |
OnClicked | Raises the Clicked event. |
OnGotFocus | Raises the ItemGotFocus event. |
OnChanged | Raises the Changed event. |
OnLabelClicked | Raises the LabelClicked event. |
OnLostFocus | Raises the ItemLostFocus event. |
SetFocus | This function activate item and sets the keyboard focus to the specified item. All subsequent keyboard input is directed to this item. The item, if any, that previously had the keyboard focus loses it. |
ToString | Returns a String that represents the current Object. |
Click | Occurs when the Item is clicked. |
DefaultDraw | Default draw item method. |
Draw | Occurs when the Item is redrawn. |
DrawAlignmentString | Overloaded. Backward compatibility overload. Does not wrap text. |
DrawBackground | Overloaded. Draws background of an Item. |
DrawItemLabelArea | Draws the label area of the Item. |
DrawItemTextArea | Draws the text area of the Item. |
DrawRoundedRectangle | |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
FormatValue | Converts the new proposed value to the text. |
GetActiveLabelWidth | Used by LabelAutoHeight to obtain current label width. |
GetActivePartBounds | Get active part bounds. |
GetActiveWidth | Used by AutoHeight to obtain current item width. |
GetLabelBounds | Get label bounds. |
GetMinimumHeight | |
GetTextBackColor | Returns actual text backcolor. |
GetTextForeBrush | Returns brush for actual text forecolor. |
GetTextForeColor | Returns actual text forecolor. |
Hide | Hide item control. |
InvokeAddEvent | |
InvokeGetProperty | |
InvokeMethod | |
InvokeRemoveEvent | |
InvokeSetProperty | |
LabelClick | Occurs when the Label is clicked. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
MouseDown | Occurs when the mouse button is hold down in the area of the Item. |
MouseUp | Occurs when the mouse button is released in the area of the Item. |
MoveTop | Move verticaly custom control. |
OnClick | |
OnLabelClick | |
OnPropertyChanged | Refreshes the parent DetailView when some property of the Item was changed. |
OnValidating | Fires the Validating event. |
Parse | Parses the new proposed text to get the new value for the control. |
SetProperty | |
SetText | Sets the text for the Item. |
SetValue | Sets the value for the Item. |
ShouldSerializeErrorBackground | Indicates whether the ItemBorder property should be persisted. |
ShouldSerializeItemBorder | Indicates whether the ItemBorder property should be persisted. |
ShouldSerializeLabelHeight | Indicates whether the LabelHeight property should be persisted. |
ShouldSerializeLineAlign | Indicates whether the LineAlign property should be persisted. |
ShouldSerializeRoundedCorner | Indicates whether the Style property should be persisted. |
ShouldSerializeStyle | Indicates whether the Style property should be persisted. |
ShouldSerializeTag | Indicates whether the Tag property should be persisted. |
UpdateControl | Update custom control. |
HandleKey | |
HandleKeyUp | |
ScaleItem | Scale the item. |
Item Class | Resco.Controls.DetailView Namespace