Date​Picker​Flyout​Item Date​Picker​Flyout​Item Date​Picker​Flyout​Item Class

Definition

Represents the container for an item in the DatePickerFlyout control.

public : sealed class DatePickerFlyoutItem : DependencyObject, IDatePickerFlyoutItem, ICustomPropertyProviderpublic sealed class DatePickerFlyoutItem : DependencyObject, IDatePickerFlyoutItem, ICustomPropertyProviderPublic NotInheritable Class DatePickerFlyoutItem Inherits DependencyObject Implements IDatePickerFlyoutItem, ICustomPropertyProvider
Inheritance
DatePickerFlyoutItemDatePickerFlyoutItemDatePickerFlyoutItem
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Properties

PrimaryText PrimaryText PrimaryText

Gets or sets the primary text of the item.

public : PlatForm::String PrimaryText { get; set; }public string PrimaryText { get; set; }Public ReadWrite Property PrimaryText As string
Value
PlatForm::String string string

The primary text of the item.

Attributes

PrimaryTextProperty PrimaryTextProperty PrimaryTextProperty

Identifies the PrimaryText dependency property.

public : static DependencyProperty PrimaryTextProperty { get; }public static DependencyProperty PrimaryTextProperty { get; }Public Static ReadOnly Property PrimaryTextProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the PrimaryText dependency property.

Attributes

SecondaryText SecondaryText SecondaryText

Gets or sets the secondary text of the item.

public : PlatForm::String SecondaryText { get; set; }public string SecondaryText { get; set; }Public ReadWrite Property SecondaryText As string
Value
PlatForm::String string string

The secondary text of the item.

Attributes

SecondaryTextProperty SecondaryTextProperty SecondaryTextProperty

Identifies the SecondaryText dependency property.

public : static DependencyProperty SecondaryTextProperty { get; }public static DependencyProperty SecondaryTextProperty { get; }Public Static ReadOnly Property SecondaryTextProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the SecondaryText dependency property.

Attributes

Type Type Type

Gets the type of the item.

public : TypeName Type { get; }public Type Type { get; }Public ReadOnly Property Type As Type
Value
TypeName Type Type

The type of the item, specified as a TypeName wrapper.

Attributes

Methods

GetCustomProperty(String) GetCustomProperty(String) GetCustomProperty(String)

Retrieves an ICustomProperty object by specifying a property name.

public : ICustomProperty GetCustomProperty(PlatForm::String name)public ICustomProperty GetCustomProperty(String name)Public Function GetCustomProperty(name As String) As ICustomProperty
Parameters
name
PlatForm::String String String

The name of the property.

Returns

The custom property support object.

Attributes

GetIndexedProperty(String, TypeName) GetIndexedProperty(String, TypeName) GetIndexedProperty(String, TypeName)

Retrieves a custom property's ICustomProperty support object by specifying a property name and the type of the indexed collection.

public : ICustomProperty GetIndexedProperty(PlatForm::String name, TypeName type)public ICustomProperty GetIndexedProperty(String name, Type type)Public Function GetIndexedProperty(name As String, type As Type) As ICustomProperty
Parameters
name
PlatForm::String String String

The name of the custom property.

type
TypeName Type Type

The type of the indexed collection, specified as a TypeName (for Visual C++ component extensions (C++/CX)) or System.Type (for C#/VB).

Returns

The returned support object for the custom property, or null.

Attributes

GetStringRepresentation() GetStringRepresentation() GetStringRepresentation()

Provides support for "GetStringFromObject" and/or "ToString" logic on the assumption that the implementation supports System.Object. This logic might be accessed by features or services such as generating UI Automation values based on data content.

public : PlatForm::String GetStringRepresentation()public string GetStringRepresentation()Public Function GetStringRepresentation() As string
Returns
PlatForm::String string string

The provided string.

Attributes

See Also