Partager via


ListColumn<TBusinessObject> Class

 

Represents a column in the list pane of the Dashboard.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    Microsoft.WindowsServerSolutions.Administration.ObjectModel.ListColumn<TBusinessObject>
      Microsoft.WindowsServerSolutions.Administration.ObjectModel.ListColumnV2<TBusinessObject>

Syntax

public class ListColumn<TBusinessObject> : MarshalByRefObject, 
    IComparer
where TBusinessObject : class
generic<typename TBusinessObject>
where TBusinessObject : ref class
public ref class ListColumn : MarshalByRefObject, IComparer
Public Class ListColumn(Of TBusinessObject As Class)
    Inherits MarshalByRefObject
    Implements IComparer

Type Parameters

  • TBusinessObject
    Represents a business object that encapsulates information and methods that relate to business data or business functionality. The information in the business object is exposed as properties.

Constructors

Name Description
System_CAPS_pubmethod ListColumn<TBusinessObject>(String, Converter<TBusinessObject, String>)

Initializes a new instance of the ListColumn<TBusinessObject> class with the specified display name and a display value that is obtained from a delegate method. The delegate method converts the business object to a string that is used as the value that is displayed for business objects in the column.

System_CAPS_pubmethod ListColumn<TBusinessObject>(String, String)

Initializes a new instance of the ListColumn<TBusinessObject> class with the specified display name and the specified property name.

System_CAPS_pubmethod ListColumn<TBusinessObject>(String, String, IFormatProvider, String)

Initializes a new instance of the ListColumn<TBusinessObject> class with the specified display name and the specified property name. A format string and a format provider are also specified to format the column value.

Properties

Name Description
System_CAPS_pubproperty Comparer

Gets or sets a delegate method that is used to define how the column sorts data.

System_CAPS_pubproperty DefaultWidth

Gets or sets the default width of the ListColumn<TBusinessObject> in pixels.

System_CAPS_pubproperty DisplayName

Gets the display name of the ListColumn<TBusinessObject> object.

System_CAPS_pubproperty IconProvider

Gets or sets the delegate method that is used to associate an instance of a business object to the Icon that is displayed with the business object value.

System_CAPS_pubproperty IsIconSpinning

Specifies whether the icon is spinning.

System_CAPS_pubproperty IsRequired

Gets or sets whether the column is required to be displayed.

System_CAPS_pubproperty IsVisibleByDefault

Gets or sets whether the column is visible by default.

System_CAPS_pubproperty SelectedIconProvider

Gets or sets the selected icon provider.

Methods

Name Description
System_CAPS_pubmethod CreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod InitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod IComparer.Compare(Object, Object)

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

Remarks

A ListColumn<TBusinessObject> object must be added to a ListColumnCollection<TBusinessObject> to be displayed in the list pane of the Dashboard.

TBusinessObject represents a business object that encapsulates information and methods that relate to business data or business functionality. The information in the business object is exposed as properties.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top