StyleSelector.SelectStyle(Object, DependencyObject) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
virtual Style ^ SelectStyle(Platform::Object ^ item, DependencyObject ^ container) = SelectStyle;
Style SelectStyle(IInspectable const& item, DependencyObject const& container);
C#
public Style SelectStyle(object item, DependencyObject container);
function selectStyle(item, container)
Public Function SelectStyle (item As Object, container As DependencyObject) As Style
- item
-
Object
Platform::Object
IInspectable
The content.
- container
- DependencyObject
The element to which the style is applied.
An application-specific style to apply; may also return null.
To provide a specific style in a derived class, override the SelectStyleCore method.
Product | Versions |
---|---|
Windows App SDK | 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |