Class DataGridSelectingItemBehaviour
Inheritance
Object
DataGridSelectingItemBehaviour
Assembly: Sdl.Desktop.Platform.Controls.dll
public class DataGridSelectingItemBehaviour : Behavior<DataGrid>
Constructors
Declaration
public DataGridSelectingItemBehaviour()
Fields
Declaration
public static readonly DependencyProperty SelectedPositionProperty
Field Value
| Type |
Description |
| DependencyProperty |
|
Declaration
public static readonly DependencyProperty SelectingItemProperty
Field Value
| Type |
Description |
| DependencyProperty |
|
Methods
Declaration
public static T FindVisualChild<T>(DependencyObject obj)
where T : DependencyObject
Parameters
| Type |
Name |
Description |
| DependencyObject |
obj |
|
Returns
Type Parameters
Declaration
public static DataGridCell GetCell(DataGrid dataGrid, DataGridRow rowContainer, int column)
Parameters
| Type |
Name |
Description |
| DataGrid |
dataGrid |
|
| DataGridRow |
rowContainer |
|
| Int32 |
column |
|
Returns
| Type |
Description |
| DataGridCell |
|
Declaration
public static int GetSelectedPosition(DependencyObject target)
Parameters
| Type |
Name |
Description |
| DependencyObject |
target |
|
Returns
Declaration
public static bool GetSelectingItem(DependencyObject target)
Parameters
| Type |
Name |
Description |
| DependencyObject |
target |
|
Returns
Declaration
public static void SelectRowByIndex(DataGrid dataGrid, int rowIndex)
Parameters
| Type |
Name |
Description |
| DataGrid |
dataGrid |
|
| Int32 |
rowIndex |
|
Declaration
public static void SetSelectedPosition(DependencyObject target, int value)
Parameters
| Type |
Name |
Description |
| DependencyObject |
target |
|
| Int32 |
value |
|
Declaration
public static void SetSelectingItem(DependencyObject target, bool value)
Parameters
| Type |
Name |
Description |
| DependencyObject |
target |
|
| Boolean |
value |
|
Extension Methods