Class ListViewDataItem
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class ListViewDataItem : IDataItem, INotifyPropertyChanged, INotifyPropertyChangingEx, IDisposable
Constructors
ListViewDataItem()
Declaration
public ListViewDataItem()
ListViewDataItem(Object)
Declaration
public ListViewDataItem(object value)
Parameters
System.Object
value
|
ListViewDataItem(String)
Declaration
public ListViewDataItem(string text)
Parameters
System.String
text
|
ListViewDataItem(String, String[])
Declaration
public ListViewDataItem(string text, string[] values)
Parameters
System.String
text
|
System.String[]
values
|
Fields
bitState
Declaration
protected BitVector32 bitState
Field Value
System.Collections.Specialized.BitVector32
|
IsCurrentState
Declaration
protected const int IsCurrentState = 16
Field Value
System.Int32
|
IsEnabledState
Declaration
protected const int IsEnabledState = 2
Field Value
System.Int32
|
IsLastInRowState
Declaration
protected const int IsLastInRowState = 8
Field Value
System.Int32
|
IsMeasureValidState
Declaration
protected const int IsMeasureValidState = 32
Field Value
System.Int32
|
IsSelectedState
Declaration
protected const int IsSelectedState = 1
Field Value
System.Int32
|
IsVisibleState
Declaration
protected const int IsVisibleState = 4
Field Value
System.Int32
|
MajorBitState
Declaration
protected const int MajorBitState = 32
Field Value
System.Int32
|
Properties
ActualSize
Declaration
public Size ActualSize { get; }
Property Value
System.Drawing.Size
|
BackColor
Gets or sets the backcolor of the list node. Color type represents an ARGB color.
Declaration
public Color BackColor { get; set; }
Property Value
System.Drawing.Color
|
See Also
BackColor2
Gets or sets the backcolor of the list item. This property is applicable to radial, glass, office glass, gel, and vista gradients.
Declaration
public Color BackColor2 { get; set; }
Property Value
System.Drawing.Color
|
See Also
BackColor3
Gets or sets the backcolor of the list item. This property is applicable to radial, glass, office glass, and vista gradients.
Declaration
public Color BackColor3 { get; set; }
Property Value
System.Drawing.Color
|
See Also
BackColor4
Gets or sets the backcolor of the list item. This property is applicable to radial, glass, office glass, and vista gradients.
Declaration
public Color BackColor4 { get; set; }
Property Value
System.Drawing.Color
|
See Also
BorderColor
Gets or sets the border color of the list item.
Declaration
public Color BorderColor { get; set; }
Property Value
System.Drawing.Color
|
CheckState
Gets a value that indicating the current check state of the item.
Declaration
public virtual ToggleState CheckState { get; set; }
Property Value
ToggleState
|
Current
Gets or sets a value that indicates if this item is current.
Declaration
public bool Current { get; }
Property Value
System.Boolean
|
DataBoundItem
Declaration
public object DataBoundItem { get; set; }
Property Value
System.Object
|
Implements
Enabled
Declaration
[RadPropertyDefaultValue("Enabled", typeof(RadElement))]
public bool Enabled { get; set; }
Property Value
System.Boolean
|
FieldCount
Declaration
public int FieldCount { get; }
Property Value
System.Int32
|
Implements
Font
Declaration
public Font Font { get; set; }
Property Value
System.Drawing.Font
|
ForeColor
Declaration
public Color ForeColor { get; set; }
Property Value
System.Drawing.Color
|
GradientAngle
Gets or sets gradient angle for linear gradient.
Declaration
public float GradientAngle { get; set; }
Property Value
System.Single
The default value is 90.0. |
See Also
GradientPercentage
Gets or sets GradientPercentage for linear, glass, office glass, gel, vista, and radial gradients.
Declaration
public float GradientPercentage { get; set; }
Property Value
System.Single
The default value is 0.5. |
See Also
GradientPercentage2
Gets or sets GradientPercentage for office glass, vista, and radial gradients.
Declaration
public float GradientPercentage2 { get; set; }
Property Value
System.Single
The default value is 0.5. |
See Also
GradientStyle
Gets and sets the gradient style. The possible values are defined in the gradient style enumeration: solid, linear, radial, glass, office glass, gel, and vista.
Declaration
public GradientStyles GradientStyle { get; set; }
Property Value
GradientStyles
The default value is GradientStyles. |
See Also
Group
Declaration
public virtual ListViewDataItemGroup Group { get; set; }
Property Value
ListViewDataItemGroup
|
HasStyle
Gets a value indicating whether this instance has style.
Declaration
public bool HasStyle { get; }
Property Value
System.Boolean
|
Image
Declaration
public Image Image { get; set; }
Property Value
System.Drawing.Image
|
ImageAlignment
Declaration
public ContentAlignment ImageAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
ImageIndex
Gets or sets the left image list index value of the image displayed.
Declaration
public virtual int ImageIndex { get; set; }
Property Value
System.Int32
|
See Also
ImageKey
Gets or sets the key for the left image associated with this list view item.
Declaration
public string ImageKey { get; set; }
Property Value
System.String
|
See Also
IsDataBound
Declaration
public virtual bool IsDataBound { get; }
Property Value
System.Boolean
|
Item[Int32]
Declaration
public object this[int index] { get; set; }
Parameters
System.Int32
index
|
Property Value
System.Object
|
Implements
Item[String]
Declaration
public object this[string name] { get; set; }
Parameters
System.String
name
|
Property Value
System.Object
|
Implements
Item[ListViewDetailColumn]
Declaration
public object this[ListViewDetailColumn column] { get; set; }
Parameters
ListViewDetailColumn
column
|
Property Value
System.Object
|
Key
Key object that is used by the FindByKey method of RadListView. By default this property holds a reference to the ListViewDataItem.
Declaration
public object Key { get; set; }
Property Value
System.Object
|
ListView
NumberOfColors
Gets or sets the number of used colors in the gradient effect.
Declaration
public int NumberOfColors { get; set; }
Property Value
System.Int32
The default value is 4. |
See Also
Owner
Selected
Gets a value that indicates if this item is selected.
Declaration
public virtual bool Selected { get; }
Property Value
System.Boolean
|
Size
Declaration
public Size Size { get; set; }
Property Value
System.Drawing.Size
|
SubItems
This collection is used for adding items at design time. It should not be used in runtime.
Declaration
public virtual ListViewSubDataItemCollection SubItems { get; }
Property Value
ListViewSubDataItemCollection
|
SvgImage
Gets or sets the Svg Image.
Declaration
public RadSvgImage SvgImage { get; set; }
Property Value
RadSvgImage
|
SvgImageXml
Gets or sets the Svg Image as string.
Declaration
public string SvgImageXml { get; set; }
Property Value
System.String
|
Tag
Declaration
public object Tag { get; set; }
Property Value
System.Object
|
Text
Gets or sets the text.
Declaration
public virtual string Text { get; set; }
Property Value
System.String
The text. |
TextAlignment
Declaration
public ContentAlignment TextAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
TextImageRelation
Declaration
public TextImageRelation TextImageRelation { get; set; }
Property Value
System.Windows.Forms.TextImageRelation
|
Value
Gets or sets a value for the property indicated by ValueMember if in bound mode, and private value in unbound mode. Trying to explicitly set this property in bound mode will result in an InvalidOperationException.
Declaration
public virtual object Value { get; set; }
Property Value
System.Object
|
Visible
Gets a value that indicates if this item is currently visible.
Declaration
public bool Visible { get; set; }
Property Value
System.Boolean
|
Methods
Dispose()
Declaration
public virtual void Dispose()
Implements
FormatToggleStateDataSourceValue(Object)
Declaration
protected virtual ToggleState FormatToggleStateDataSourceValue(object value)
Parameters
System.Object
value
|
Returns
ToggleState
|
FormatToggleStateValue(ToggleState, PropertyDescriptor)
Declaration
protected virtual object FormatToggleStateValue(ToggleState value, PropertyDescriptor targetField)
Parameters
ToggleState
value
|
System.ComponentModel.PropertyDescriptor
targetField
|
Returns
System.Object
|
GetBoundCheckedValue()
GetBoundValue()
Declaration
protected virtual object GetBoundValue()
Returns
System.Object
|
GetDisplayValue()
Declaration
protected object GetDisplayValue()
Returns
System.Object
|
GetFormattedValue(Object)
Declaration
protected virtual string GetFormattedValue(object value)
Parameters
System.Object
value
|
Returns
System.String
|
GetUnboundValue()
Gets a value for the Value property in unbound mode.
Declaration
protected virtual object GetUnboundValue()
Returns
System.Object
Returns an object reference pointing to the value of the Value property in unbound mode. |
GetValue(String)
Declaration
protected object GetValue(string propertyName)
Parameters
System.String
propertyName
|
Returns
System.Object
|
IndexOf(String)
Declaration
public int IndexOf(string name)
Parameters
System.String
name
|
Returns
System.Int32
|
Implements
OnNotifyPropertyChanged(PropertyChangedEventArgs)
Declaration
protected virtual void OnNotifyPropertyChanged(PropertyChangedEventArgs args)
Parameters
System.ComponentModel.PropertyChangedEventArgs
args
|
OnNotifyPropertyChanged(String)
Declaration
protected void OnNotifyPropertyChanged(string propertyName)
Parameters
System.String
propertyName
|
OnNotifyPropertyChanging(String)
Declaration
protected bool OnNotifyPropertyChanging(string propertyName)
Parameters
System.String
propertyName
|
Returns
System.Boolean
|
OnNotifyPropertyChanging(PropertyChangingEventArgsEx)
Declaration
protected virtual bool OnNotifyPropertyChanging(PropertyChangingEventArgsEx args)
Parameters
PropertyChangingEventArgsEx
args
|
Returns
System.Boolean
|
SetBoundValue(Object)
Declaration
protected virtual void SetBoundValue(object value)
Parameters
System.Object
value
|
SetDataBoundItem(Boolean, Object)
Declaration
protected virtual void SetDataBoundItem(bool dataBinding, object value)
Parameters
System.Boolean
dataBinding
|
System.Object
value
|
SetUnboundValue(Object)
This method is called when setting the Value property of a RadListDataItem when it is in unbound mode.
Declaration
protected virtual void SetUnboundValue(object value)
Parameters
System.Object
value
The value to set the Value property to. |
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|
PropertyChanging
Declaration
public event PropertyChangingEventHandlerEx PropertyChanging
Event Type
PropertyChangingEventHandlerEx
|