C# Class SIL.Cog.Presentation.Behaviors.DataGridControlBehaviors

ファイルを表示 Open project: sillsdev/cog

Public Properties

Property Type Description
AllowCurrentWhenNoSelectionProperty System.Windows.DependencyProperty
AutoScrollOnSelectionProperty System.Windows.DependencyProperty
AutoSizePaddingProperty System.Windows.DependencyProperty
AutoSizeProperty System.Windows.DependencyProperty
FontSizeHintProperty System.Windows.DependencyProperty
IsInitialSelectionDisabledProperty System.Windows.DependencyProperty
IsRowHeaderProperty System.Windows.DependencyProperty
IsRowVirtualizationEnabledProperty System.Windows.DependencyProperty
IsUnselectableProperty System.Windows.DependencyProperty
MergedHeadersProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetAllowCurrentWhenNoSelection ( Xceed.Wpf.DataGrid.DataGridControl dataGrid ) : bool
GetAutoScrollOnSelection ( Xceed.Wpf.DataGrid.DataGridControl datagrid ) : bool
GetAutoSize ( Xceed.Wpf.DataGrid.ColumnBase column ) : bool
GetAutoSizePadding ( Xceed.Wpf.DataGrid.ColumnBase column ) : double
GetFontSizeHint ( Xceed.Wpf.DataGrid.ColumnBase column ) : double
GetIsInitialSelectionDisabled ( Xceed.Wpf.DataGrid.DataGridControl dataGrid ) : bool
GetIsRowHeader ( Xceed.Wpf.DataGrid.ColumnBase column ) : bool
GetIsRowVirtualizationEnabled ( Xceed.Wpf.DataGrid.DataGridControl dataGrid ) : bool
GetIsUnselectable ( Xceed.Wpf.DataGrid.DataGridControl dataGrid ) : bool
GetMergedHeaders ( Xceed.Wpf.DataGrid.DataGridControl dataGrid ) : ObservableCollection
SetAllowCurrentWhenNoSelection ( Xceed.Wpf.DataGrid.DataGridControl dataGrid, bool value ) : void
SetAutoScrollOnSelection ( Xceed.Wpf.DataGrid.DataGridControl datagrid, bool value ) : void
SetAutoSize ( Xceed.Wpf.DataGrid.ColumnBase column, bool value ) : void
SetAutoSizePadding ( Xceed.Wpf.DataGrid.ColumnBase column, double value ) : void
SetFontSizeHint ( Xceed.Wpf.DataGrid.ColumnBase column, double value ) : void
SetIsInitialSelectionDisabled ( Xceed.Wpf.DataGrid.DataGridControl dataGrid, bool value ) : void
SetIsRowHeader ( Xceed.Wpf.DataGrid.ColumnBase column, bool value ) : void
SetIsRowVirtualizationEnabled ( Xceed.Wpf.DataGrid.DataGridControl dataGrid, bool value ) : void
SetIsUnselectable ( Xceed.Wpf.DataGrid.DataGridControl dataGrid, bool value ) : void
SetMergedHeaders ( Xceed.Wpf.DataGrid.DataGridControl dataGrid, ObservableCollection headers ) : void

Private Methods

Method Description
DataGridControl_ItemsChanged ( object obj ) : void
DataGrid_ItemsSourceChangeCompleted ( object sender, EventArgs e ) : void
DataGrid_PreviewMouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
DataGrid_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
DataGrid_SelectionChanged ( object sender, Xceed.Wpf.DataGrid.DataGridSelectionChangedEventArgs e ) : void
GetValuePath ( Xceed.Wpf.DataGrid.ColumnBase column ) : string
OnAllowCurrentWhenNoSelectionChanged ( DependencyObject depObj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnAutoScrollOnSelectionChanged ( DependencyObject depObj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnAutoSizeChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsInitialSelectionDisabledChanged ( DependencyObject depObj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsRowHeaderChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsRowVirtualizationEnabledChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsUnselectableChanged ( DependencyObject depObj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetRowVirtualization ( Xceed.Wpf.DataGrid.DataGridControl dataGrid ) : void
SetWidthToFit ( Xceed.Wpf.DataGrid.ColumnBase column ) : void
column_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
dataGrid_Loaded ( object sender, RoutedEventArgs e ) : void

Method Details

GetAllowCurrentWhenNoSelection() public static method

public static GetAllowCurrentWhenNoSelection ( Xceed.Wpf.DataGrid.DataGridControl dataGrid ) : bool
dataGrid Xceed.Wpf.DataGrid.DataGridControl
return bool

GetAutoScrollOnSelection() public static method

public static GetAutoScrollOnSelection ( Xceed.Wpf.DataGrid.DataGridControl datagrid ) : bool
datagrid Xceed.Wpf.DataGrid.DataGridControl
return bool

GetAutoSize() public static method

public static GetAutoSize ( Xceed.Wpf.DataGrid.ColumnBase column ) : bool
column Xceed.Wpf.DataGrid.ColumnBase
return bool

GetAutoSizePadding() public static method

public static GetAutoSizePadding ( Xceed.Wpf.DataGrid.ColumnBase column ) : double
column Xceed.Wpf.DataGrid.ColumnBase
return double

GetFontSizeHint() public static method

public static GetFontSizeHint ( Xceed.Wpf.DataGrid.ColumnBase column ) : double
column Xceed.Wpf.DataGrid.ColumnBase
return double

GetIsInitialSelectionDisabled() public static method

public static GetIsInitialSelectionDisabled ( Xceed.Wpf.DataGrid.DataGridControl dataGrid ) : bool
dataGrid Xceed.Wpf.DataGrid.DataGridControl
return bool

GetIsRowHeader() public static method

public static GetIsRowHeader ( Xceed.Wpf.DataGrid.ColumnBase column ) : bool
column Xceed.Wpf.DataGrid.ColumnBase
return bool

GetIsRowVirtualizationEnabled() public static method

public static GetIsRowVirtualizationEnabled ( Xceed.Wpf.DataGrid.DataGridControl dataGrid ) : bool
dataGrid Xceed.Wpf.DataGrid.DataGridControl
return bool

GetIsUnselectable() public static method

public static GetIsUnselectable ( Xceed.Wpf.DataGrid.DataGridControl dataGrid ) : bool
dataGrid Xceed.Wpf.DataGrid.DataGridControl
return bool

GetMergedHeaders() public static method

public static GetMergedHeaders ( Xceed.Wpf.DataGrid.DataGridControl dataGrid ) : ObservableCollection
dataGrid Xceed.Wpf.DataGrid.DataGridControl
return ObservableCollection

SetAllowCurrentWhenNoSelection() public static method

public static SetAllowCurrentWhenNoSelection ( Xceed.Wpf.DataGrid.DataGridControl dataGrid, bool value ) : void
dataGrid Xceed.Wpf.DataGrid.DataGridControl
value bool
return void

SetAutoScrollOnSelection() public static method

public static SetAutoScrollOnSelection ( Xceed.Wpf.DataGrid.DataGridControl datagrid, bool value ) : void
datagrid Xceed.Wpf.DataGrid.DataGridControl
value bool
return void

SetAutoSize() public static method

public static SetAutoSize ( Xceed.Wpf.DataGrid.ColumnBase column, bool value ) : void
column Xceed.Wpf.DataGrid.ColumnBase
value bool
return void

SetAutoSizePadding() public static method

public static SetAutoSizePadding ( Xceed.Wpf.DataGrid.ColumnBase column, double value ) : void
column Xceed.Wpf.DataGrid.ColumnBase
value double
return void

SetFontSizeHint() public static method

public static SetFontSizeHint ( Xceed.Wpf.DataGrid.ColumnBase column, double value ) : void
column Xceed.Wpf.DataGrid.ColumnBase
value double
return void

SetIsInitialSelectionDisabled() public static method

public static SetIsInitialSelectionDisabled ( Xceed.Wpf.DataGrid.DataGridControl dataGrid, bool value ) : void
dataGrid Xceed.Wpf.DataGrid.DataGridControl
value bool
return void

SetIsRowHeader() public static method

public static SetIsRowHeader ( Xceed.Wpf.DataGrid.ColumnBase column, bool value ) : void
column Xceed.Wpf.DataGrid.ColumnBase
value bool
return void

SetIsRowVirtualizationEnabled() public static method

public static SetIsRowVirtualizationEnabled ( Xceed.Wpf.DataGrid.DataGridControl dataGrid, bool value ) : void
dataGrid Xceed.Wpf.DataGrid.DataGridControl
value bool
return void

SetIsUnselectable() public static method

public static SetIsUnselectable ( Xceed.Wpf.DataGrid.DataGridControl dataGrid, bool value ) : void
dataGrid Xceed.Wpf.DataGrid.DataGridControl
value bool
return void

SetMergedHeaders() public static method

public static SetMergedHeaders ( Xceed.Wpf.DataGrid.DataGridControl dataGrid, ObservableCollection headers ) : void
dataGrid Xceed.Wpf.DataGrid.DataGridControl
headers ObservableCollection
return void

Property Details

AllowCurrentWhenNoSelectionProperty public_oe static_oe property

public static DependencyProperty,System.Windows AllowCurrentWhenNoSelectionProperty
return System.Windows.DependencyProperty

AutoScrollOnSelectionProperty public_oe static_oe property

public static DependencyProperty,System.Windows AutoScrollOnSelectionProperty
return System.Windows.DependencyProperty

AutoSizePaddingProperty public_oe static_oe property

public static DependencyProperty,System.Windows AutoSizePaddingProperty
return System.Windows.DependencyProperty

AutoSizeProperty public_oe static_oe property

public static DependencyProperty,System.Windows AutoSizeProperty
return System.Windows.DependencyProperty

FontSizeHintProperty public_oe static_oe property

public static DependencyProperty,System.Windows FontSizeHintProperty
return System.Windows.DependencyProperty

IsInitialSelectionDisabledProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsInitialSelectionDisabledProperty
return System.Windows.DependencyProperty

IsRowHeaderProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsRowHeaderProperty
return System.Windows.DependencyProperty

IsRowVirtualizationEnabledProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsRowVirtualizationEnabledProperty
return System.Windows.DependencyProperty

IsUnselectableProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsUnselectableProperty
return System.Windows.DependencyProperty

MergedHeadersProperty public_oe static_oe property

public static DependencyProperty,System.Windows MergedHeadersProperty
return System.Windows.DependencyProperty