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 | |
---|---|---|
![]() |
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. |
![]() |
ListColumn<TBusinessObject>(String, String) | Initializes a new instance of the ListColumn<TBusinessObject> class with the specified display name and the specified property name. |
![]() |
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 | |
---|---|---|
![]() |
Comparer | Gets or sets a delegate method that is used to define how the column sorts data. |
![]() |
DefaultWidth | Gets or sets the default width of the ListColumn<TBusinessObject> in pixels. |
![]() |
DisplayName | Gets the display name of the ListColumn<TBusinessObject> object. |
![]() |
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. |
![]() |
IsIconSpinning | Specifies whether the icon is spinning. |
![]() |
IsRequired | Gets or sets whether the column is required to be displayed. |
![]() |
IsVisibleByDefault | Gets or sets whether the column is visible by default. |
![]() |
SelectedIconProvider | Gets or sets the selected icon provider. |
Methods
Name | Description | |
---|---|---|
![]() |
CreateObjRef(Type) | (Inherited from MarshalByRefObject.) |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetLifetimeService() | (Inherited from MarshalByRefObject.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
InitializeLifetimeService() | (Inherited from MarshalByRefObject.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) |
![]() |
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
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