Gets or sets the assembly representing the resource from which the UI style is loaded.
Property Value
A reference to an
System.Reflection.Assembly resource from which the style is loaded. If a null reference (
Nothing in Visual Basic) and the value of the
UIStyle property is set to ResourceAssembly, the blue Windows XP theme will be used.
The following example demonstrates how to load the Olive Green Windows XP style from the Xceed.UI.WindowsXP.OliveGreen.DLL assembly.
Dim button As New WinButton() button.ResourceAssembly = [Assembly].LoadFrom( "C:\MyApplication\Xceed.UI.WindowsXP.OliveGreen.DLL" ) button.UIStyle = Xceed.UI.UIStyle.ResourceAssembly
WinButton button = new WinButton(); button.ResourceAssembly = Assembly.LoadFrom( "C:\\MyApplication\\Xceed.UI.WindowsXP.OliveGreen.DLL" button.UIStyle = Xceed.UI.UIStyle.ResourceAssembly
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2