StyleSheet.FromResource(String, Assembly, IXmlLineInfo) Method

Definition

Creates a StyleSheet from an embedded resource.

public static Microsoft.Maui.Controls.StyleSheets.StyleSheet FromResource(string resourcePath, System.Reflection.Assembly assembly, System.Xml.IXmlLineInfo lineInfo = default);
static member FromResource : string * System.Reflection.Assembly * System.Xml.IXmlLineInfo -> Microsoft.Maui.Controls.StyleSheets.StyleSheet
Public Shared Function FromResource (resourcePath As String, assembly As Assembly, Optional lineInfo As IXmlLineInfo = Nothing) As StyleSheet

Parameters

resourcePath
String

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

assembly
Assembly

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

lineInfo
IXmlLineInfo

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

Returns

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

Applies to