Share via


StyleSelector.SelectStyleCore(Object, DependencyObject) 方法

定义

当由派生类实现时, 返回基于自定义逻辑的特定 Style

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

参数

item
Object

Platform::Object

IInspectable

内容。

container
DependencyObject

应用样式的元素。

返回

要应用的特定于应用程序的样式;也可能返回 null。

适用于