November Happy Hour will be moved to Thursday December 5th.

Class McMetaViewPreference

Represents default mediachase meta view prefrence.

Inheritance
System.Object
McMetaViewPreference
Implements
Namespace: Mediachase.BusinessFoundation.Core
Assembly: Mediachase.BusinessFoundation.dll
Version: 13.30.0
Syntax
public class McMetaViewPreference : MetaViewPreference, IMetaViewPreference

Constructors

McMetaViewPreference()

Initializes a new instance of the McMetaViewPreference class.

Declaration
public McMetaViewPreference()

Fields

AttrAllowPaging

Declaration
public const string AttrAllowPaging = "AllowPaging"
Field Value
Type Description
System.String

AttrIndex

Declaration
public const string AttrIndex = "Index"
Field Value
Type Description
System.String

AttrPageSize

Declaration
public const string AttrPageSize = "PageSize"
Field Value
Type Description
System.String

AttrWidth

Declaration
public const string AttrWidth = "Width"
Field Value
Type Description
System.String

GlobalAttrLeftFilterName

Declaration
public const string GlobalAttrLeftFilterName = "_mcLeftFilterName"
Field Value
Type Description
System.String

GlobalAttrLeftFilters

Declaration
public const string GlobalAttrLeftFilters = "_mcLeftFilters"
Field Value
Type Description
System.String

Properties

LeftFilterName

Gets or sets the name of the group.

Declaration
public string LeftFilterName { get; set; }
Property Value
Type Description
System.String

The name of the group.

LeftFilters

Gets or sets the group filters.

Declaration
public FilterElementCollection LeftFilters { get; set; }
Property Value
Type Description
FilterElementCollection

The group filters.

PageFilters

Gets the page filters.

Declaration
public FilterElementCollection PageFilters { get; }
Property Value
Type Description
FilterElementCollection

The page filters.

Methods

ChangeMetaFieldOrder(Int32, Int32)

Changes the meta field order.

Declaration
public void ChangeMetaFieldOrder(int oldIndex, int newIndex)
Parameters
Type Name Description
System.Int32 oldIndex

The old index.

System.Int32 newIndex

The new index.

CompareMetaField(MetaField, MetaField)

Declaration
protected override int CompareMetaField(MetaField x, MetaField y)
Parameters
Type Name Description
MetaField x
MetaField y
Returns
Type Description
System.Int32
Overrides

CreateDefaultPreference(MetaView)

Creates the default preference.

Declaration
public static void CreateDefaultPreference(MetaView View)
Parameters
Type Name Description
MetaView View

The view.

CreateDefaultUserPreference(MetaView)

Creates the default user preference.

Declaration
public static void CreateDefaultUserPreference(MetaView View)
Parameters
Type Name Description
MetaView View

The view.

GetFilters()

Gets the filters.

Declaration
protected override FilterElementCollection GetFilters()
Returns
Type Description
FilterElementCollection
Overrides

GetMetaFieldWidth(Int32, Int32)

Gets the width of the meta field.

Declaration
public int GetMetaFieldWidth(int Index, int DefaultWidth)
Parameters
Type Name Description
System.Int32 Index

The index.

System.Int32 DefaultWidth

The default width.

Returns
Type Description
System.Int32

SetMetaFieldWidth(Int32, Int32)

Sets the width of the meta field.

Declaration
public void SetMetaFieldWidth(int Index, int newWidth)
Parameters
Type Name Description
System.Int32 Index

The index.

System.Int32 newWidth

The new width.

Implements