Share via


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);
function selectStyleCore(item, container)
Protected Overridable Function SelectStyleCore (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.

Applies to