Show / Hide Table of Contents

Class DataGridColumnAttachments

Provides some attached properties for a System.Windows.Controls.DataGridColumn and System.Windows.Controls.DataGridCell.

Inheritance
System.Object
DataGridColumnAttachments
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public static class DataGridColumnAttachments

Fields

View Source

IsCellSelectedProperty

Identifies the System.Windows.DependencyProperty for GetIsCellSelected(DependencyObject) and SetIsCellSelected(DependencyObject, Boolean).

Declaration
public static readonly DependencyProperty IsCellSelectedProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

IsHeaderSelectedProperty

Identifies the System.Windows.DependencyProperty for GetIsHeaderSelected(DependencyObject) and SetIsHeaderSelected(DependencyObject, Boolean).

Declaration
public static readonly DependencyProperty IsHeaderSelectedProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

IsMouseOverCellProperty

Identifies the System.Windows.DependencyProperty for GetIsMouseOverCell(DependencyObject) and SetIsMouseOverCell(DependencyObject, Boolean).

Declaration
public static readonly DependencyProperty IsMouseOverCellProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

IsMouseOverHeaderProperty

Identifies the System.Windows.DependencyProperty for GetIsMouseOverHeader(DependencyObject) and SetIsMouseOverHeader(DependencyObject, Boolean).

Declaration
public static readonly DependencyProperty IsMouseOverHeaderProperty
Field Value
Type Description
System.Windows.DependencyProperty

Methods

View Source

GetIsCellSelected(DependencyObject)

Gets a value indicating whether a cell of a column is currently selected.

Declaration
public static bool GetIsCellSelected(DependencyObject element)
Parameters
Type Name Description
System.Windows.DependencyObject element

The System.Windows.DependencyObject to get this attached property from.

Returns
Type Description
System.Boolean

true if the mouse is over any cell of the column.

View Source

GetIsHeaderSelected(DependencyObject)

Gets a value indicating whether the header is currently selected.

Declaration
public static bool GetIsHeaderSelected(DependencyObject element)
Parameters
Type Name Description
System.Windows.DependencyObject element

The element.

Returns
Type Description
System.Boolean

A value indicating whether the header is currently selected

View Source

GetIsMouseOverCell(DependencyObject)

Gets whether the mouse is over a cell for a System.Windows.DependencyObject.

Declaration
public static bool GetIsMouseOverCell(DependencyObject element)
Parameters
Type Name Description
System.Windows.DependencyObject element

The System.Windows.DependencyObject to get this attached property from.

Returns
Type Description
System.Boolean

true if the mouse is over a cell.

View Source

GetIsMouseOverHeader(DependencyObject)

Gets whether the mouse is over the header for a System.Windows.DependencyObject.

Declaration
public static bool GetIsMouseOverHeader(DependencyObject element)
Parameters
Type Name Description
System.Windows.DependencyObject element

The System.Windows.DependencyObject to get this attached property from.

Returns
Type Description
System.Boolean

true if the mouse is over the header.

View Source

SetIsCellSelected(DependencyObject, Boolean)

Sets a value indicating whether a cell of a column is currently selected.

Declaration
public static void SetIsCellSelected(DependencyObject element, bool value)
Parameters
Type Name Description
System.Windows.DependencyObject element

The System.Windows.DependencyObject to set this attached property for.

System.Boolean value

Value indicating whether a cell of a column is currently selected.

View Source

SetIsHeaderSelected(DependencyObject, Boolean)

Sets a value indicating whether the header is currently selected.

Declaration
public static void SetIsHeaderSelected(DependencyObject element, bool value)
Parameters
Type Name Description
System.Windows.DependencyObject element

The element.

System.Boolean value

if set to true the header is currently selected.

View Source

SetIsMouseOverCell(DependencyObject, Boolean)

Sets whether the mouse is over a cell for a System.Windows.DependencyObject.

Declaration
public static void SetIsMouseOverCell(DependencyObject element, bool value)
Parameters
Type Name Description
System.Windows.DependencyObject element

The System.Windows.DependencyObject to set this attached property for.

System.Boolean value

Value indicating whether the mouse is over a cell.

View Source

SetIsMouseOverHeader(DependencyObject, Boolean)

Sets whether the mouse is over the header for a System.Windows.DependencyObject.

Declaration
public static void SetIsMouseOverHeader(DependencyObject element, bool value)
Parameters
Type Name Description
System.Windows.DependencyObject element

The System.Windows.DependencyObject to set this attached property for.

System.Boolean value

Value indicating whether the mouse is over the header.

  • View Source
Back to top Generated by DocFX