IStylesProvider
IStylesProvider
IStylesProvider
IStylesProvider
Interface
Definition
Provides access to the visual styles associated with the content of a document.
public : interface IStylesProviderpublic interface IStylesProviderPublic Interface IStylesProvider// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
ExtendedProperties 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 : PlatForm::String ExtendedProperties { get; }public string ExtendedProperties { get; }Public ReadOnly Property ExtendedProperties As string// This API is not available in Javascript.
- Value
- PlatForm::String 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".
FillPatternColor 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// This API is not available in Javascript.
FillPatternStyle FillPatternStyle FillPatternStyle FillPatternStyle
Gets a string that represents the fill pattern style of an element in a document.
public : PlatForm::String FillPatternStyle { get; }public string FillPatternStyle { get; }Public ReadOnly Property FillPatternStyle As string// This API is not available in Javascript.
- Value
- PlatForm::String string string string
A localized string that indicates the fill pattern style, such as "Vertical Stripe".
Shape Shape Shape Shape
Gets a string that represents the shape of an element in a document.
public : PlatForm::String Shape { get; }public string Shape { get; }Public ReadOnly Property Shape As string// This API is not available in Javascript.
- Value
- PlatForm::String string string string
A localized string that indicates the shape.
StyleId 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// This API is not available in Javascript.
- Value
- int int int int
The style identifier. For a list of possible values, see Style Identifiers.
StyleName StyleName StyleName StyleName
Gets the name of the visual style of an element in a document.
public : PlatForm::String StyleName { get; }public string StyleName { get; }Public ReadOnly Property StyleName As string// This API is not available in Javascript.
- Value
- PlatForm::String string string string
The name of the style, or empty string if the style has no name.