Class UserAdminView1EntrySortableCollection
- Namespace
- SWConfigDataClientLib.Proxies.Admin
- Assembly
- IpPbxCDSClientLib.dll
UserAdminView1EntrySortableCollection is a sortable collection of UserAdminView1Entry objects. It is used to hold local filter results and to sort result list without recalling the server. The class can be bound to DataGridControls.
public class UserAdminView1EntrySortableCollection : List<UserAdminView1Entry>
- Inheritance
-
UserAdminView1EntrySortableCollection
Constructors
UserAdminView1EntrySortableCollection()
Standard contructor
public UserAdminView1EntrySortableCollection()
Fields
m_OrigCollection
protected UserAdminView1PrimaryCollection m_OrigCollection
Field Value
Properties
AllowEdit
public bool AllowEdit { get; }
Property Value
AllowNew
public bool AllowNew { get; }
Property Value
AllowRemove
public bool AllowRemove { get; }
Property Value
IsSorted
public bool IsSorted { get; }
Property Value
SortDirection
public ListSortDirection SortDirection { get; }
Property Value
SortProperty
public PropertyDescriptor SortProperty { get; }
Property Value
SupportsChangeNotification
public bool SupportsChangeNotification { get; }
Property Value
SupportsSearching
public bool SupportsSearching { get; }
Property Value
SupportsSorting
public bool SupportsSorting { get; }
Property Value
Methods
AddIndex(PropertyDescriptor)
public void AddIndex(PropertyDescriptor property)
Parameters
property
PropertyDescriptor
AddNew()
public object AddNew()
Returns
ApplySort(PropertyDescriptor, ListSortDirection)
public void ApplySort(PropertyDescriptor property, ListSortDirection direction)
Parameters
property
PropertyDescriptordirection
ListSortDirection
FillFromPrimaryCollection()
Loads or reloads all entries from the owners collection. All Filter and sorts wll be reseted.
public virtual void FillFromPrimaryCollection()
FilterAdminProfileDisplayName(string)
Filters the collection by removing all entries not matching the filter. The source collection keeps unchanged.
public virtual void FilterAdminProfileDisplayName(string AdminProfileDisplayName)
Parameters
AdminProfileDisplayName
string
FilterAdminProfileName(string)
Filters the collection by removing all entries not matching the filter. The source collection keeps unchanged.
public virtual void FilterAdminProfileName(string AdminProfileName)
Parameters
AdminProfileName
string
FilterFeatureProfileDisplayName(string)
Filters the collection by removing all entries not matching the filter. The source collection keeps unchanged.
public virtual void FilterFeatureProfileDisplayName(string FeatureProfileDisplayName)
Parameters
FeatureProfileDisplayName
string
FilterFeatureProfileName(string)
Filters the collection by removing all entries not matching the filter. The source collection keeps unchanged.
public virtual void FilterFeatureProfileName(string FeatureProfileName)
Parameters
FeatureProfileName
string
FilterLocation(string)
Filters the collection by removing all entries not matching the filter. The source collection keeps unchanged.
public virtual void FilterLocation(string Location)
Parameters
Location
string
FilterProfile(string)
Filters the collection by removing all entries not matching the filter. The source collection keeps unchanged.
public virtual void FilterProfile(string Profile)
Parameters
Profile
string
Find(PropertyDescriptor, object)
public int Find(PropertyDescriptor property, object key)
Parameters
property
PropertyDescriptorkey
object
Returns
OnListChanged(ListChangedEventArgs)
protected virtual void OnListChanged(ListChangedEventArgs ev)
Parameters
RemoveIndex(PropertyDescriptor)
public void RemoveIndex(PropertyDescriptor property)
Parameters
property
PropertyDescriptor
RemoveSort()
public void RemoveSort()
Sort(SortableAttributes)
public virtual void Sort(UserAdminView1EntrySortableCollection.SortableAttributes sorting)