Intersoft ClientUI Documentation
SetStyleWithType Method
See Also  Send Feedback
Intersoft.Client.Framework Namespace > FrameworkElementExtensions Class : SetStyleWithType Method






element
Element.
style
TypedStyle.
Sets framework element style with TypedStyle.

Syntax

Visual Basic (Declaration) 
<ExtensionAttribute()>
Public Shared Sub SetStyleWithType( _
   ByVal element As FrameworkElement, _
   ByVal style As Style _
) 
Visual Basic (Usage)Copy Code
Dim element As FrameworkElement
Dim style As Style
 
FrameworkElementExtensions.SetStyleWithType(element, style)
C# 
[ExtensionAttribute()]
public static void SetStyleWithType( 
   FrameworkElement element,
   Style style
)
Delphi 
public procedure SetStyleWithType( 
    element: FrameworkElement;
    style: Style
); static; 
JScript 
ExtensionAttribute()
public static function SetStyleWithType( 
   element : FrameworkElement,
   style : Style
);
Managed Extensions for C++ 
[ExtensionAttribute()]
public: static void SetStyleWithType( 
   FrameworkElement* element,
   Style* style
) 
C++/CLI 
[ExtensionAttribute()]
public:
static void SetStyleWithType( 
   FrameworkElement^ element,
   Style^ style
) 

Parameters

element
Element.
style
TypedStyle.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.