In This Article

IShellProperty Interface

Provides the requirements for a property that can be applied to a shell object.

public interface IShellProperty

Properties

CanonicalName

The case-sensitive name by which a property is known to the system, regardless of its localized name.

string? CanonicalName { get; }

Property Value

string

ColumnDefaultSortDirection

The default sort direction of a column created for this property.

ColumnSortDirection ColumnDefaultSortDirection { get; }

Property Value

ColumnSortDirection:

A ColumnSortDirection specifying the default sort direction of a column created for this property.

ColumnHorizontalAlignment

The horizontal alignment of a column created for this property.

HorizontalAlignment ColumnHorizontalAlignment { get; }

Property Value

HorizontalAlignment

DefaultColumnWidth

The default column width for this property.

double DefaultColumnWidth { get; }

Property Value

double

IsNameProperty

Indicates whether this property is the primary property that returns the name of a shell object.

bool IsNameProperty { get; }

Property Value

bool:

true if this property is the primary property that returns the name of a shell object; otherwise, false.

Key

The key that uniquely identifies the property.

object? Key { get; }

Property Value

object

Name

The display name, which is a localized property name.

string? Name { get; }

Property Value

string

Extension Methods