C# Class FirstFloor.ModernUI.Windows.Controls.ModernMenu

Inheritance: System.Windows.Controls.Control
Show file Open project: gro-ove/actools Class Usage Examples

Public Properties

Property Type Description
DefaultSourceProperty System.Windows.DependencyProperty
LinkGroupsProperty System.Windows.DependencyProperty
SaveKeyProperty System.Windows.DependencyProperty
SelectedLinkGroupProperty System.Windows.DependencyProperty
SelectedLinkProperty System.Windows.DependencyProperty
SelectedSourceProperty System.Windows.DependencyProperty
VisibleLinkGroupsProperty System.Windows.DependencyProperty

Public Methods

Method Description
EndInit ( ) : void
OnApplyTemplate ( ) : void
SelectUriIfLinkExists ( Uri uri ) : bool
SwitchToGroupByKey ( string key ) : void

Private Methods

Method Description
CloseTab ( ) : void
FocusCurrentTab ( ) : void
Group_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
Link_PropertyChanged ( object sender, PropertyChangedEventArgs args ) : void
ModernMenu ( ) : System
NewTab ( ) : void
NextTab ( ) : void
OnLinkGroupsChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnLinkGroupsChanged ( LinkGroupCollection oldValue, LinkGroupCollection newValue ) : void
OnLinkGroupsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
OnSelectedLinkChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectedLinkChanged ( Link oldValue, Link newValue ) : void
OnSelectedLinkGroupChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectedLinkGroupChanged ( LinkGroup oldValue, LinkGroup newValue ) : void
OnSelectedSourceChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectedSourceChanged ( Uri oldValue, Uri newValue ) : void
PreviousTab ( ) : void
RebuildMenu ( LinkGroupCollection groups ) : void
RestoreTab ( ) : void
SwitchTab ( int index, bool cycle ) : void
UpdateSelection ( ) : void

Method Details

EndInit() public method

public EndInit ( ) : void
return void

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

SelectUriIfLinkExists() public method

public SelectUriIfLinkExists ( Uri uri ) : bool
uri System.Uri
return bool

SwitchToGroupByKey() public method

public SwitchToGroupByKey ( string key ) : void
key string
return void

Property Details

DefaultSourceProperty public static property

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

LinkGroupsProperty public static property

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

SaveKeyProperty public static property

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

SelectedLinkGroupProperty public static property

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

SelectedLinkProperty public static property

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

SelectedSourceProperty public static property

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

VisibleLinkGroupsProperty public static property

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