DatePickerFlyoutItem 類別

定義

代表 DatePickerFlyout 控制項中專案的容器。

public ref class DatePickerFlyoutItem sealed : DependencyObject, ICustomPropertyProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DatePickerFlyoutItem final : DependencyObject, ICustomPropertyProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DatePickerFlyoutItem : DependencyObject, ICustomPropertyProvider
Public NotInheritable Class DatePickerFlyoutItem
Inherits DependencyObject
Implements ICustomPropertyProvider
繼承
Object Platform::Object IInspectable DependencyObject DatePickerFlyoutItem
屬性
實作

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

屬性

Dispatcher

取得與此物件相關聯的 CoreDispatcherCoreDispatcher代表可以存取 UI 執行緒上DependencyObject的功能,即使程式碼是由非 UI 執行緒起始也一樣。

(繼承來源 DependencyObject)
PrimaryText

取得或設定專案的主要文字。

PrimaryTextProperty

識別 PrimaryText 相依性屬性。

SecondaryText

取得或設定專案的次要文字。

SecondaryTextProperty

識別 SecondaryText 相依性屬性。

Type

取得項目的類型。

方法

ClearValue(DependencyProperty)

清除相依性屬性的本機值。

(繼承來源 DependencyObject)
GetAnimationBaseValue(DependencyProperty)

傳回針對相依性屬性所建立的任何基底值,如果動畫未使用中,則會套用。

(繼承來源 DependencyObject)
GetCustomProperty(String)

藉由指定屬性名稱來擷取 ICustomProperty 物件。

GetIndexedProperty(String, TypeName)

藉由指定屬性名稱和索引集合的類型,擷取自訂屬性的 ICustomProperty 支持對象。

GetStringRepresentation()

根據實作支援 System.Object 的假設,提供 「GetStringFromObject」 和/或 「ToString」 邏輯的支援。 此功能或服務可能會存取此邏輯,例如根據資料內容產生 UI 自動化值。

GetValue(DependencyProperty)

DependencyObject傳回相依性屬性的目前有效值。

(繼承來源 DependencyObject)
ReadLocalValue(DependencyProperty)

如果已設定本機值,則傳回相依性屬性的本機值。

(繼承來源 DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback)

註冊通知函式,以接聽此DependencyObject實例上特定DependencyProperty的變更。

(繼承來源 DependencyObject)
SetValue(DependencyProperty, Object)

DependencyObject上設定相依性屬性的本機值。

(繼承來源 DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty, Int64)

取消先前透過呼叫 RegisterPropertyChangedCallback註冊的變更通知。

(繼承來源 DependencyObject)

適用於

另請參閱