Xceed DataGrid for WPF v7.2 Documentation
GetDateComponent Method


Xceed.Wpf.Controls Assembly > Xceed.Wpf.Controls Namespace > DateLayoutPanel Class : GetDateComponent Method
The dependency object from which the property value is read. By default, -1.
Gets a value representing the portion of the date displayed in the DateLayoutPanel.
Syntax
'Declaration
 
Public Shared Function GetDateComponent( _

   ByVal d As DependencyObject _

) As DateComponent
'Usage
 
Dim d As DependencyObject

Dim value As DateComponent

 

value = DateLayoutPanel.GetDateComponent(d)
public static DateComponent GetDateComponent( 

   DependencyObject d

)

Parameters

d
The dependency object from which the property value is read. By default, -1.

Return Value

A DateComponent value representing the portion of the data displayed in the DateLayoutPanel.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DateLayoutPanel Class
DateLayoutPanel Members