Information Technology Reference
In-Depth Information
public int
Find(
PropertyDescriptor
property,
object
key)
{
return
(data
as
IBindingList
).Find(property, key); }
public bool
IsSorted
{
get
{
return
(data
as
IBindingList
).IsSorted; } }
private
ListChangedEventHandler
listChangedHandler;
public event
ListChangedEventHandler
ListChanged
{
add
{ listChangedHandler +=
value
; }
remove
{ listChangedHandler -=
value
; }
}
public void
RemoveIndex(
PropertyDescriptor
property)
{ (data
as
IBindingList
).RemoveIndex(property); }
public void
RemoveSort()
{ (data
as
IBindingList
).RemoveSort(); }
public
ListSortDirection
SortDirection
{
get
{
return
(data
as
IBindingList
).SortDirection; } }
public
PropertyDescriptor
SortProperty
{
get
{
return
(data
as
IBindingList
).SortProperty;}}
public bool
SupportsChangeNotification
{
get
{
return
(data
as
IBindingList
).
SupportsChangeNotification; } }
public bool
SupportsSearching
{
get
{
return
(data
as
IBindingList
).SupportsSearching;}}
public bool
SupportsSorting
{
get
{
return
(data
as
IBindingList
).SupportsSorting;}}
#endregion
#region
IList Members
public int
Add(
object
value)
{