ListBoxItem Class

Definition

Namespace: SMath.Controls
Assembly: SMath.Controls (in SMath.Controls.dll) Version: 1.2.9018.0
C#
public class ListBoxItem : IComparable<ListBoxItem>, 
	IEquatable<ListBoxItem>
Inheritance
Object    ListBoxItem
Implements
IComparableListBoxItem, IEquatableListBoxItem

Constructors

ListBoxItem(String, String, Int32, Int32)Initializes a new instance of the ListBoxItem class
ListBoxItem(String, String, String, Int32, Int32)Initializes a new instance of the ListBoxItem class

Properties

Text Text of the listbox item.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToString
(Overrides ObjectToString)

Fields

ArgsCount Number of children of the expression component. Can get values:
  • "0" - for the Operand;
  • "1" - for the Bracket;
  • "1" or "2" - for the Operator;
  • More then "1" or equal - for the Function.
Description Description of the listbox item.
DrawChildCount Determines whether to include arguments count of the function to the text of the item or not.
ExampleIndex Index of the example in the array of built-in examples.
Name Name of the listbox item.
Title Title of the listbox item.

Explicit Interface Implementations

IComparableListBoxItemCompareToCompares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
IEquatableListBoxItemEqualsIndicates whether the current object is equal to another object of the same type.

See Also