共用方式為


StyleSheet Class

Definition

Class for loading style sheets from strings, assembly resources, and text readers.

public ref class StyleSheet sealed
public sealed class StyleSheet
type StyleSheet = class
Public NotInheritable Class StyleSheet
Inheritance
StyleSheet

Methods

FromReader(TextReader)

Returns a style sheet by reading style data from the reader.

FromResource(String, Assembly, IXmlLineInfo)

For internal use by the Microsoft.Maui.Controls platform.

FromString(String)

Creates and returns a style sheet from a string that contains a text representation of a style sheet.

Applies to