DatePickerFlyoutItem 類別

定義

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

public ref class DatePickerFlyoutItem sealed : DependencyObject, ICustomPropertyProvider
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 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(Microsoft.UI.Xaml.WinUIContract), 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
屬性
實作

屬性

Dispatcher

一律會在 Windows 應用程式 SDK 應用程式中傳null回 。 請改用 DispatcherQueue

(繼承來源 DependencyObject)
DispatcherQueue

DispatcherQueue取得與這個 物件相關聯的 。 DispatcherQueue表示即使程式代碼是由非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” 邏輯的支援。 此功能或服務可能會存取此邏輯,例如根據數據內容產生 使用者介面自動化 值。

GetValue(DependencyProperty)

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

(繼承來源 DependencyObject)
ReadLocalValue(DependencyProperty)

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

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

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

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

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

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

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

(繼承來源 DependencyObject)

適用於

另請參閱