StyleSheet.FromAssemblyResource(Assembly, String, IXmlLineInfo) Method

Definition

Caution

use FromResource()

Returns the specified style sheet.

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("use FromResource()")]
public static Xamarin.Forms.StyleSheets.StyleSheet FromAssemblyResource (System.Reflection.Assembly assembly, string resourceId, System.Xml.IXmlLineInfo lineInfo = default);
static member FromAssemblyResource : System.Reflection.Assembly * string * System.Xml.IXmlLineInfo -> Xamarin.Forms.StyleSheets.StyleSheet

Parameters

assembly
Assembly

The assembly that contains the style sheet.

resourceId
String

The resource ID for the style sheet.

lineInfo
IXmlLineInfo

The line information for retrieving the style sheet.

Returns

StyleSheet

The specified style sheet.

Attributes

Applies to