Udostępnij za pośrednictwem


IStylesProvider.StyleName Property

Definition

Gets the name of the visual style of an element in a document.

public:
 property Platform::String ^ StyleName { Platform::String ^ get(); };
winrt::hstring StyleName();
public string StyleName { get; }
var string = iStylesProvider.styleName;
Public ReadOnly Property StyleName As String

Property Value

String

Platform::String

winrt::hstring

The name of the style, or empty string if the style has no name.

Applies to