共用方式為


IconSource.ForegroundProperty 屬性

定義

識別前景相依性屬性。

適用于 UWP 的對等 WinUI 2 APIMicrosoft.UI.Xaml.Controls.IconSource.ForegroundProperty (Windows 應用程式 SDK,請參閱Windows 應用程式 SDK命名空間) 。

public:
 static property DependencyProperty ^ ForegroundProperty { DependencyProperty ^ get(); };
static DependencyProperty ForegroundProperty();
public static DependencyProperty ForegroundProperty { get; }
var dependencyProperty = IconSource.foregroundProperty;
Public Shared ReadOnly Property ForegroundProperty As DependencyProperty

屬性值

前景相依性屬性的識別碼。

適用於