StyleSelector.SelectStyle(Object, DependencyObject) Method
Definition
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);
public Style SelectStyle(object item, DependencyObject container);
function selectStyle(item, container)
Public Function SelectStyle (item As Object, container As DependencyObject) As Style
Parameters
- item
-
Object
Platform::Object
IInspectable
The content.
- container
- DependencyObject
The element to which the style is applied.
Returns
An application-specific style to apply; may also return null.
Remarks
To provide a specific style in a derived class, override the SelectStyleCore method.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro