C# Class ScreenToGif.Util.ScrollSynchronizer

Inheritance: System.Windows.DependencyObject
Datei anzeigen Open project: dbremner/ScreenToGif

Public Properties

Property Type Description
ScrollGroupProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetScrollGroup ( DependencyObject obj ) : string

Gets the value of the attached property ScrollGroup.

SetScrollGroup ( DependencyObject obj, string scrollGroup ) : void

Sets the value of the attached property ScrollGroup.

Private Methods

Method Description
OnScrollGroupChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Occurs, when the ScrollGroupProperty has changed.

Scroll ( ScrollViewer changedScrollViewer ) : void

Scrolls all scroll viewers of a group to the position of the selected scroll viewer.

ScrollViewer_ScrollChanged ( object sender, System.Windows.Controls.ScrollChangedEventArgs e ) : void

Occurs, when the scroll offset of one scrollviewer has changed.

Method Details

GetScrollGroup() public static method

Gets the value of the attached property ScrollGroup.
public static GetScrollGroup ( DependencyObject obj ) : string
obj System.Windows.DependencyObject Object for which the property should be read.
return string

SetScrollGroup() public static method

Sets the value of the attached property ScrollGroup.
public static SetScrollGroup ( DependencyObject obj, string scrollGroup ) : void
obj System.Windows.DependencyObject Object on which the property should be applied.
scrollGroup string Value of the property.
return void

Property Details

ScrollGroupProperty public_oe static_oe property

Identifies the attached property ScrollGroup
public static DependencyProperty,System.Windows ScrollGroupProperty
return System.Windows.DependencyProperty