Class PagedDataGrid
- Namespace
- HeBianGu.Control.PagedDataGrid
- Assembly
- HeBianGu.Control.PagedDataGrid.dll
public class PagedDataGrid : DataGrid, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IContainItemStorage, IAddChild
- Inheritance
-
PagedDataGrid
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
PagedDataGrid()
public PagedDataGrid()
Fields
DataSourceProperty
public static readonly DependencyProperty DataSourceProperty
Field Value
FilterStringProperty
public static readonly DependencyProperty FilterStringProperty
Field Value
HeaderContentProperty
public static readonly DependencyProperty HeaderContentProperty
Field Value
MaxValueProperty
public static readonly DependencyProperty MaxValueProperty
Field Value
MinValueProperty
public static readonly DependencyProperty MinValueProperty
Field Value
PageCountProperty
public static readonly DependencyProperty PageCountProperty
Field Value
PageCountSourceProperty
public static readonly DependencyProperty PageCountSourceProperty
Field Value
PageIndexProperty
public static readonly DependencyProperty PageIndexProperty
Field Value
TopVisibilityProperty
public static readonly DependencyProperty TopVisibilityProperty
Field Value
TotalPageProperty
public static readonly DependencyProperty TotalPageProperty
Field Value
TotalProperty
public static readonly DependencyProperty TotalProperty
Field Value
UseAsyncProperty
public static readonly DependencyProperty UseAsyncProperty
Field Value
UseDoubleClickShowViewProperty
public static readonly DependencyProperty UseDoubleClickShowViewProperty
Field Value
UsePageCountProperty
public static readonly DependencyProperty UsePageCountProperty
Field Value
UseSearchProperty
public static readonly DependencyProperty UseSearchProperty
Field Value
Properties
AccentKey
public static ComponentResourceKey AccentKey { get; }
Property Value
ClearKey
public static ComponentResourceKey ClearKey { get; }
Property Value
ColumnSet
public DataGridColumnSet ColumnSet { get; }
Property Value
DataSource
public IList DataSource { get; set; }
Property Value
DefaultKey
public static ComponentResourceKey DefaultKey { get; }
Property Value
DynamicKey
public static ComponentResourceKey DynamicKey { get; }
Property Value
EndColumns
public ObservableCollection<DataGridColumn> EndColumns { get; }
Property Value
FilterString
public string FilterString { get; set; }
Property Value
HeaderContent
public object HeaderContent { get; set; }
Property Value
MaxValue
当前页最大索引
public int MaxValue { get; set; }
Property Value
Message
public Action<string> Message { get; set; }
Property Value
MinValue
当前页最小索引
public int MinValue { get; set; }
Property Value
PageCount
public int PageCount { get; set; }
Property Value
PageCountSource
public List<int> PageCountSource { get; set; }
Property Value
PageIndex
当前页索引
public int PageIndex { get; set; }
Property Value
SingleKey
public static ComponentResourceKey SingleKey { get; }
Property Value
TopVisibility
public Visibility TopVisibility { get; set; }
Property Value
Total
数据总条数
public int Total { get; set; }
Property Value
TotalPage
总页数
public int TotalPage { get; set; }
Property Value
UseAsync
public bool UseAsync { get; set; }
Property Value
UseDoubleClickShowView
public bool UseDoubleClickShowView { get; set; }
Property Value
UsePageCount
public bool UsePageCount { get; set; }
Property Value
UseSearch
public bool UseSearch { get; set; }
Property Value
Methods
InitData()
protected virtual void InitData()
OnAutoGeneratedColumns(EventArgs)
Raises the AutoGeneratedColumns event.
protected override void OnAutoGeneratedColumns(EventArgs e)
Parameters
e
EventArgsThe data for the event.
OnAutoGeneratingColumn(DataGridAutoGeneratingColumnEventArgs)
Raises the AutoGeneratingColumn event.
protected override void OnAutoGeneratingColumn(DataGridAutoGeneratingColumnEventArgs e)
Parameters
e
DataGridAutoGeneratingColumnEventArgsThe data for the event.
OnDataSourceChanged()
protected virtual void OnDataSourceChanged()
OnMouseDoubleClick(MouseButtonEventArgs)
Raises the MouseDoubleClick routed event.
protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgsThe event data.