C# Class CK.Plugins.ObjectExplorer.ListBoxAttachedProperties

Inheritance: System.Windows.DependencyObject
ファイルを表示 Open project: Invenietis/ck-certified

Public Properties

Property Type Description
AutoScrollToCurrentItemProperty System.Windows.DependencyProperty
AutoScrollToNewItemProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetAutoScrollToCurrentItem ( DependencyObject obj ) : bool

Returns the value of the AutoScrollToCurrentItemProperty

GetAutoScrollToNewItem ( DependencyObject obj ) : bool

Returns the value of the AutoScrollToNewItemProperty

OnAutoScrollToCurrentItem ( System.Windows.Controls.ListBox listBox, int index ) : void

This method will be called when the ListBox should be scrolled to the given index

OnAutoScrollToCurrentItemChanged ( DependencyObject s, System.Windows.DependencyPropertyChangedEventArgs e ) : void

This method will be called when the AutoScrollToCurrentItem property was changed

OnAutoScrollToNewItem ( System.Windows.Controls.ListBox listBox ) : void

This method will be called when the ListBox should be scrolled to the end

OnAutoScrollToNewItemChanged ( DependencyObject s, System.Windows.DependencyPropertyChangedEventArgs e ) : void

This method will be called when the AutoScrollToNewItem property was changed

SetAutoScrollToCurrentItem ( DependencyObject obj, bool value ) : void

Sets the value of the AutoScrollToCurrentItemProperty

SetAutoScrollToNewItem ( DependencyObject obj, bool value ) : void

Sets the value of the AutoScrollToCurrentItemProperty

Method Details

GetAutoScrollToCurrentItem() public static method

Returns the value of the AutoScrollToCurrentItemProperty
public static GetAutoScrollToCurrentItem ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject The dependency-object whichs value should be returned
return bool

GetAutoScrollToNewItem() public static method

Returns the value of the AutoScrollToNewItemProperty
public static GetAutoScrollToNewItem ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject The dependency-object whichs value should be returned
return bool

OnAutoScrollToCurrentItem() public static method

This method will be called when the ListBox should be scrolled to the given index
public static OnAutoScrollToCurrentItem ( System.Windows.Controls.ListBox listBox, int index ) : void
listBox System.Windows.Controls.ListBox The ListBox which should be scrolled
index int The index of the item to which it should be scrolled
return void

OnAutoScrollToCurrentItemChanged() public static method

This method will be called when the AutoScrollToCurrentItem property was changed
public static OnAutoScrollToCurrentItemChanged ( DependencyObject s, System.Windows.DependencyPropertyChangedEventArgs e ) : void
s System.Windows.DependencyObject The sender (the ListBox)
e System.Windows.DependencyPropertyChangedEventArgs Some additional information
return void

OnAutoScrollToNewItem() public static method

This method will be called when the ListBox should be scrolled to the end
public static OnAutoScrollToNewItem ( System.Windows.Controls.ListBox listBox ) : void
listBox System.Windows.Controls.ListBox The ListBox which should be scrolled
return void

OnAutoScrollToNewItemChanged() public static method

This method will be called when the AutoScrollToNewItem property was changed
public static OnAutoScrollToNewItemChanged ( DependencyObject s, System.Windows.DependencyPropertyChangedEventArgs e ) : void
s System.Windows.DependencyObject The sender (the ListBox)
e System.Windows.DependencyPropertyChangedEventArgs Some additional information
return void

SetAutoScrollToCurrentItem() public static method

Sets the value of the AutoScrollToCurrentItemProperty
public static SetAutoScrollToCurrentItem ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject The dependency-object whichs value should be set
value bool The value which should be assigned to the AutoScrollToCurrentItemProperty
return void

SetAutoScrollToNewItem() public static method

Sets the value of the AutoScrollToCurrentItemProperty
public static SetAutoScrollToNewItem ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject The dependency-object whichs value should be set
value bool The value which should be assigned to the AutoScrollToNewItemProperty
return void

Property Details

AutoScrollToCurrentItemProperty public_oe static_oe property

public static DependencyProperty,System.Windows AutoScrollToCurrentItemProperty
return System.Windows.DependencyProperty

AutoScrollToNewItemProperty public_oe static_oe property

public static DependencyProperty,System.Windows AutoScrollToNewItemProperty
return System.Windows.DependencyProperty