IStylesProvider.StyleName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The name of the style, or empty string if the style has no name.