StyleSelector.SelectStyleCore(Object, DependencyObject) Method

Definition

When implemented by a derived class, returns a specific Style based on custom logic.

protected:
 virtual Style ^ SelectStyleCore(Platform::Object ^ item, DependencyObject ^ container) = SelectStyleCore;
Style SelectStyleCore(IInspectable const & item, DependencyObject const & container);
protected virtual Style SelectStyleCore(object item, DependencyObject container);
Protected Overridable Function SelectStyleCore (item As Object, container As DependencyObject) As Style

Parameters

item
Object

The content.

container
DependencyObject

The element to which the style is applied.

Returns

Style

An application-specific style to apply; may also return null.

Applies to