Class GridListModel
Inheritance
System.Object
GridListModel
Implements
System.IDisposable
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
Columns
Gets or sets the columns.
Declaration
public GridListColumns Columns { get; set; }
Property Value
CurrentDisplayElement
Declaration
public virtual DependencyObject CurrentDisplayElement { get; }
Property Value
Type |
System.Windows.DependencyObject |
CurrentDisplayText
Declaration
public virtual string CurrentDisplayText { get; }
Property Value
CurrentIndex
Declaration
public virtual int CurrentIndex { get; set; }
Property Value
CurrentItem
Declaration
public virtual object CurrentItem { get; set; }
Property Value
CurrentValue
Declaration
public virtual object CurrentValue { get; }
Property Value
DefaultColumnWidth
Declaration
public double DefaultColumnWidth { get; set; }
Property Value
DisplayMember
Declaration
public string DisplayMember { get; set; }
Property Value
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 |
System.Collections.IEnumerable |
Name
Declaration
public string Name { get; set; }
Property Value
ShowColumnHeaders
Declaration
public bool ShowColumnHeaders { get; set; }
Property Value
Declaration
public bool ShowRowHeaders { get; set; }
Property Value
SourceList
Declaration
public IList SourceList { get; set; }
Property Value
Type |
System.Collections.IList |
ValueMember
Declaration
public string ValueMember { get; set; }
Property Value
Methods
GetDisplayElement(Object)
Declaration
public virtual DependencyObject GetDisplayElement(object item)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
Returns
Type |
System.Windows.DependencyObject |
GetDisplayText(Int32)
Declaration
public virtual string GetDisplayText(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
GetDisplayText(Object)
Declaration
public virtual string GetDisplayText(object item)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
Returns
GetDisplayValue(Object)
Declaration
public object GetDisplayValue(object item)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
Returns
GetItem(Int32)
Declaration
public virtual object GetItem(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
GetSelectedList()
Declaration
public IList<int> GetSelectedList()
Returns
Type |
System.Collections.Generic.IList<System.Int32> |
GetValue(Object)
Declaration
public virtual object GetValue(object item)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
Returns
IndexOfItemByDisplayText(String)
Declaration
public virtual int IndexOfItemByDisplayText(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
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
IndexOfItemByValue(Object)
Declaration
public virtual int IndexOfItemByValue(object searchValue)
Parameters
Type |
Name |
Description |
System.Object |
searchValue |
|
Returns
IsSelected(Int32)
Declaration
public virtual bool IsSelected(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
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
ItemsSourceChanged
Declaration
public event EventHandler ItemsSourceChanged
Event Type
Implements
System.IDisposable
Extension Methods