Intersoft ClientUI Documentation
SelectStyle Method
See Also  Send Feedback
Intersoft.Client.Framework Namespace > ContainerStyleSelector Class : SelectStyle Method






item
An object that represents the original item to be styled.
container
The container of the item to be styled.
Select the style to be used in UXToolGroup based on ButtonAppearance property.

Syntax

Visual Basic (Declaration) 
Public Overrides Function SelectStyle( _
   ByVal item As Object, _
   ByVal container As DependencyObject _
) As Style
Visual Basic (Usage)Copy Code
Dim instance As ContainerStyleSelector
Dim item As Object
Dim container As DependencyObject
Dim value As Style
 
value = instance.SelectStyle(item, container)
C# 
public override Style SelectStyle( 
   object item,
   DependencyObject container
)
Delphi 
public function SelectStyle( 
    item: TObject;
    container: DependencyObject
): Style; override; 
JScript 
public override function SelectStyle( 
   item : Object,
   container : DependencyObject
) : Style;
Managed Extensions for C++ 
public: Style* SelectStyle( 
   Object* item,
   DependencyObject* container
) override 
C++/CLI 
public:
Style^ SelectStyle( 
   Object^ item,
   DependencyObject^ container
) override 

Parameters

item
An object that represents the original item to be styled.
container
The container of the item to be styled.

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.