共用方式為


SystemParameters.PrimaryScreenWidthKey 屬性

定義

取得 PrimaryScreenWidth 屬性的 ResourceKey

public:
 static property System::Windows::ResourceKey ^ PrimaryScreenWidthKey { System::Windows::ResourceKey ^ get(); };
public static System.Windows.ResourceKey PrimaryScreenWidthKey { get; }
static member PrimaryScreenWidthKey : System.Windows.ResourceKey
Public Shared ReadOnly Property PrimaryScreenWidthKey As ResourceKey

屬性值

資源索引鍵。

備註

XAML 屬性用法

<object property="{SystemParameters.PrimaryScreenWidthKey}"/>

適用於