In This Article

IShellProperty Interface

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

public interface IShellProperty

Properties

CanonicalName

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

string CanonicalName { get; }

Property Value

string:

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

ColumnDefaultSortDirection

Gets 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

Gets the horizontal alignment of a column created for this property.

HorizontalAlignment ColumnHorizontalAlignment { get; }

Property Value

HorizontalAlignment:

The horizontal alignment of a column created for this property.

DefaultColumnWidth

Gets the default column width for this property.

double DefaultColumnWidth { get; }

Property Value

double:

The default column width for this property.

IsNameProperty

Gets 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

Gets the key that uniquely identifies the property.

object Key { get; }

Property Value

object:

The key that uniquely identifies the property.

Name

Gets the display name, which is a localized property name.

string Name { get; }

Property Value

string:

The display name, which is a localized property name.