Class CriteriaInfo
Assembly: SoDataBase.dll
Syntax
public class CriteriaInfo : ICloneable
Constructors
CriteriaInfo()
Declaration
CriteriaInfo(int, string, string, string, string, bool, bool, string, string)
Declaration
public CriteriaInfo(int id, string name, string displayName, string displayTooltip, string displayType, bool canOrderBy, bool isVisible, string width, string restrictionType)
Parameters
CriteriaInfo(int, string, string, string, string, bool, bool, string, string, string)
Declaration
public CriteriaInfo(int id, string name, string displayName, string displayTooltip, string displayType, bool canOrderBy, bool isVisible, string width, string restrictionType, string restrictionListName)
Parameters
Properties
ArchiveColumnInfo
The decorated ArchiveColumnInfo property
Declaration
public ArchiveColumnInfo ArchiveColumnInfo { get; set; }
Property Value
CanOrderBy
Can this column be used for sorting?
Declaration
public bool CanOrderBy { get; set; }
Property Value
CanRestrictBy
Can this column be used as a restriction
Declaration
public bool CanRestrictBy { get; set; }
Property Value
CriteriaId
Declaration
public int CriteriaId { get; set; }
Property Value
DisplayName
The column name to show, can be a resource identifier string
Declaration
public string DisplayName { get; set; }
Property Value
The column tooltip, used in the column list and in the column headings
Declaration
public string DisplayTooltip { get; set; }
Property Value
DisplayType
Type of column, so that the archive knows how to display it (actual display values are always strings, invariant-culture formatted).
This name can contain resource tags.
Declaration
public string DisplayType { get; set; }
Property Value
HeadingIconHint
Icon hint for the archive heading only. If this is a nonempty string, the archive header
should use this icon and ignore the DisplayName. Otherwise, the DisplayName
should be used as the heading.
Declaration
public string HeadingIconHint { get; set; }
Property Value
IconHint
Icon hint corresponding to the display name; this icon hint is used in the configuration dialog
and other places where we 'talk about' the columns of the archive. The actual heading
of the archive may also contain icons in lieu of textual names, the icon hint for that
is specified in HeadingIconHint and is a different one.
Declaration
public string IconHint { get; set; }
Property Value
IsVisible
Is this column visible to the user in configuration dialogs etc
Declaration
public bool IsVisible { get; set; }
Property Value
Name
Unique identity of this column (in this particular context); the name to be used when requesting the column from a provider,
setting restrictions or order by criteria
Declaration
public string Name { get; set; }
Property Value
RestrictionListName
If the restriction data type is 'list', this property contains the name of the SoList so that choices can be shown
Declaration
public string RestrictionListName { get; set; }
Property Value
RestrictionType
The data type of the restriction; use this to retrieve the legal operators for the restriction
Declaration
public string RestrictionType { get; set; }
Property Value
Width
The width specification, if the column info has been extended with GUI-based information.
It is either "n%" or "nc", where n is an integer. Percent-formatted fields grow and shrink; number-of-characters
formatted fields have constant width when the whole archive width changes.
Declaration
public string Width { get; set; }
Property Value
Methods
Clone()
Declaration
Returns
Operators
implicit operator ArchiveColumnInfo(CriteriaInfo)
Implicit cast from CriteriaInfo to ArchiveColumnInfo
Declaration
public static implicit operator ArchiveColumnInfo(CriteriaInfo criteriaInfo)
Parameters
Returns
Implements
Extension Methods