Share via


AccountPickerOptions 類別

定義

表示用來建立帳戶選擇器的選項。

public ref class AccountPickerOptions
[Windows::Foundation::Metadata::WebHostHidden]
class AccountPickerOptions
public class AccountPickerOptions
type AccountPickerOptions = class
Public Class AccountPickerOptions
繼承
AccountPickerOptions
衍生

建構函式

AccountPickerOptions(IntPtr, String)

初始化用來建立帳戶選擇器之選項的新實例。

AccountPickerOptions(Window, String)

初始化用來建立帳戶選擇器之選項的新實例。

屬性

CustomFilter

取得或設定選擇器的自定義篩選,以判斷要顯示的帳戶。 設定此選項將會停用新增功能。

HostId

取得此主機的唯一標識符,通常是封裝 guid,在報告遙測時將會使用。

IsAuthenticationStateUIEnabled

取得或設定值,這個值會決定選擇器是否會顯示UI,以允許使用者在需要重新驗證時 SelectedAccount 重新輸入認證。 依預設值,此屬性為 True。

IsCompactHeight

取得或設定值,這個值會決定選擇器是否會在與預設高度相較之下,以較小的高度顯示。

ParentWindow

取得裝載帳戶選擇器的視窗。

ParentWindowHandle

取得父窗口物件。

UseWindowsPresentationFoundationStyle

取得或設定值,這個值會決定選擇器是否會根據 Windows Presentation Framework 使用樣式。

適用於