I​Styles​Provider I​Styles​Provider I​Styles​Provider Interface

Definition

Provides access to the visual styles associated with the content of a document.

public interface IStylesProviderpublic interface IStylesProviderPublic Interface IStylesProvider
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

ExtendedProperties ExtendedProperties ExtendedProperties

Gets a string value that contains additional property info. The info is for properties are that are not included in this control pattern, but that provide information about the document content that might be useful to the user.

public string ExtendedProperties { get; }public string ExtendedProperties { get; }Public ReadOnly Property ExtendedProperties As string
Value
string string string

A localized, formatted string that contains the list of extended properties. The string must be formatted as a list of name/value pairs, as follows: "prop1=value;prop2=value2".

Attributes

FillColor FillColor FillColor

Gets the fill color of an element in a document.

public Color FillColor { get; }public Color FillColor { get; }Public ReadOnly Property FillColor As Color
Value
Color Color Color

The fill color, represented as a Windows Runtime Color value.

Attributes

FillPatternColor FillPatternColor FillPatternColor

Gets the color of the pattern used to fill an element in a document.

public Color FillPatternColor { get; }public Color FillPatternColor { get; }Public ReadOnly Property FillPatternColor As Color
Value
Color Color Color

The color of the fill pattern, represented as a Windows Runtime Color value.

Attributes

FillPatternStyle FillPatternStyle FillPatternStyle

Gets a string that represents the fill pattern style of an element in a document.

public string FillPatternStyle { get; }public string FillPatternStyle { get; }Public ReadOnly Property FillPatternStyle As string
Value
string string string

A localized string that indicates the fill pattern style, such as "Vertical Stripe".

Attributes

Shape Shape Shape

Gets a string that represents the shape of an element in a document.

public string Shape { get; }public string Shape { get; }Public ReadOnly Property Shape As string
Value
string string string

A localized string that indicates the shape.

Attributes

StyleId StyleId StyleId

Gets the identifier for a visual style of an element in a document.

public int StyleId { get; }public int StyleId { get; }Public ReadOnly Property StyleId As int
Value
int int int

The style identifier. For a list of possible values, see Style Identifiers.

Attributes

StyleName StyleName StyleName

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

public string StyleName { get; }public string StyleName { get; }Public ReadOnly Property StyleName As string
Value
string string string

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

Attributes