New to Telerik UI for WPFStart a free 30-day trial

This class represents extension methods and attached properties used by the DateTimePicker control.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
public static class DateTimePickerExtensions

Inheritance: objectDateTimePickerExtensions

Fields

FocusContentOnOpenProperty

DependencyProperty

Gets the identifier for the Telerik.Windows.Controls.FocusOnOpen dependency property.

C#
public static readonly DependencyProperty FocusContentOnOpenProperty
Field Value:

The identifier for the Telerik.Windows.Controls.FocusOnOpen dependency property.

Methods

Gets a value that indicates whether the corresponding DropDownButton will auto-focus its content when opened.

C#
public static bool GetFocusContentOnOpen(DependencyObject obj)
Parameters:objDependencyObject

The DropDownButton.

Returns:

bool

A value that indicates whether the corresponding DropDownButton will auto-focus its content when opened.

Sets a value that indicates whether the corresponding DropDownButton will auto-focus its content when opened.

C#
public static void SetFocusContentOnOpen(DependencyObject obj, bool value)
Parameters:objDependencyObject

The DropDownButton.

valuebool

A value that indicates whether the corresponding DropDownButton will auto-focus its content when opened.