共用方式為


EntrySelectedBy Class

Definition

Each control (table, list, wide, or custom) may have multiple entries. If there are multiple entries, there must be a default entry with no condition, all other entries must have EntrySelectedBy specified. This is useful when you need a single view for grouping or otherwise just selecting the shape of formatting, but need distinct formatting rules for each instance. For example, when listing files, you may want to group based on the parent path, but select different entries depending on if the item is a file or directory.

public ref class EntrySelectedBy sealed
public sealed class EntrySelectedBy
type EntrySelectedBy = class
Public NotInheritable Class EntrySelectedBy
Inheritance
EntrySelectedBy

Constructors

EntrySelectedBy()

Properties

SelectionCondition

An optional condition that applies to the entry.

TypeNames

An optional list of typenames that apply to the entry.

Applies to