Class GridListModel
Inheritance
System.Object
GridListModel
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridListModel : GridModel, IGridVolatileCellStylesHost, IOperationFeedbackProvider, IDisposable
Constructors
GridListModel()
Declaration
Properties
AutoPopulateDropDownColumns
Declaration
public bool AutoPopulateDropDownColumns { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Columns
Gets or sets the columns.
Declaration
public GridListColumns Columns { get; set; }
Property Value
CurrentDisplayElement
Declaration
public virtual DependencyObject CurrentDisplayElement { get; }
Property Value
Type |
Description |
System.Windows.DependencyObject |
|
CurrentDisplayText
Declaration
public virtual string CurrentDisplayText { get; }
Property Value
Type |
Description |
System.String |
|
CurrentIndex
Declaration
public virtual int CurrentIndex { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
CurrentItem
Declaration
public virtual object CurrentItem { get; set; }
Property Value
Type |
Description |
System.Object |
|
CurrentValue
Declaration
public virtual object CurrentValue { get; }
Property Value
Type |
Description |
System.Object |
|
DefaultColumnWidth
Declaration
public double DefaultColumnWidth { get; set; }
Property Value
Type |
Description |
System.Double |
|
DisplayMember
Declaration
public string DisplayMember { get; set; }
Property Value
Type |
Description |
System.String |
|
DropDownColumnSizer
Declaration
public GridControlLengthUnitType DropDownColumnSizer { get; set; }
Property Value
DropDownVisibleColumns
Declaration
public GridListColumnsCollection DropDownVisibleColumns { get; set; }
Property Value
ItemProperties
Gets or sets the collection of PropertyDescriptors
of the underlying data source. identifies properties
in this collection so that cells can display values from the
of a .
Declaration
public PropertyDescriptorCollection ItemProperties { get; set; }
Property Value
Type |
Description |
System.ComponentModel.PropertyDescriptorCollection |
The node item properties.
|
ItemsSource
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
Type |
Description |
System.Collections.IEnumerable |
|
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
ShowColumnHeaders
Declaration
public bool ShowColumnHeaders { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool ShowRowHeaders { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SourceList
Declaration
public IList SourceList { get; set; }
Property Value
Type |
Description |
System.Collections.IList |
|
ValueMember
Declaration
public string ValueMember { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
GetDisplayElement(Object)
Declaration
public virtual DependencyObject GetDisplayElement(object item)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
Returns
Type |
Description |
System.Windows.DependencyObject |
|
GetDisplayText(Int32)
Declaration
public virtual string GetDisplayText(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.String |
|
GetDisplayText(Object)
Declaration
public virtual string GetDisplayText(object item)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
Returns
Type |
Description |
System.String |
|
GetDisplayValue(Object)
Declaration
public object GetDisplayValue(object item)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
Returns
Type |
Description |
System.Object |
|
GetItem(Int32)
Declaration
public virtual object GetItem(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Object |
|
GetSelectedList()
Declaration
public IList<int> GetSelectedList()
Returns
Type |
Description |
System.Collections.Generic.IList<System.Int32> |
|
GetValue(Object)
Declaration
public virtual object GetValue(object item)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
Returns
Type |
Description |
System.Object |
|
IndexOfItemByDisplayText(String)
Declaration
public virtual int IndexOfItemByDisplayText(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
Type |
Description |
System.Int32 |
|
IndexOfItemByDisplayTextMatch(String, Boolean, Int32)
Declaration
public virtual int IndexOfItemByDisplayTextMatch(string text, bool ignoreCase, int startSearchAtIndex)
Parameters
Type |
Name |
Description |
System.String |
text |
|
System.Boolean |
ignoreCase |
|
System.Int32 |
startSearchAtIndex |
|
Returns
Type |
Description |
System.Int32 |
|
IndexOfItemByValue(Object)
Declaration
public virtual int IndexOfItemByValue(object searchValue)
Parameters
Type |
Name |
Description |
System.Object |
searchValue |
|
Returns
Type |
Description |
System.Int32 |
|
IsSelected(Int32)
Declaration
public virtual bool IsSelected(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Boolean |
|
MoveDown()
Declaration
MoveToBottom()
Declaration
public void MoveToBottom()
MoveToTop()
Declaration
MoveUp()
Declaration
OnCommitCellInfo(GridCommitCellInfoEventArgs)
Declaration
protected override void OnCommitCellInfo(GridCommitCellInfoEventArgs e)
Parameters
Overrides
OnQueryCellInfo(GridQueryCellInfoEventArgs)
Declaration
protected override void OnQueryCellInfo(GridQueryCellInfoEventArgs e)
Parameters
Overrides
OnSourceListChanged()
Declaration
protected virtual void OnSourceListChanged()
PageDown()
Declaration
PageUp()
Declaration
SetSelected(Int32, Boolean)
Declaration
public virtual void SetSelected(int index, bool selectState)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Boolean |
selectState |
|
SetSelected(Int32, Int32, Boolean)
Declaration
public virtual void SetSelected(int from, int to, bool selectState)
Parameters
Type |
Name |
Description |
System.Int32 |
from |
|
System.Int32 |
to |
|
System.Boolean |
selectState |
|
UnwireItemsSource()
Declaration
protected virtual void UnwireItemsSource()
UnwireSourceList()
Declaration
protected virtual void UnwireSourceList()
WireItemsSource()
Declaration
protected virtual void WireItemsSource()
WireSourceList()
Declaration
protected virtual void WireSourceList()
Events
CurrentIndexChanged
Declaration
public event EventHandler CurrentIndexChanged
Event Type
Type |
Description |
System.EventHandler |
|
ItemsSourceChanged
Declaration
public event EventHandler ItemsSourceChanged
Event Type
Type |
Description |
System.EventHandler |
|
Implements
System.IDisposable
Extension Methods