C# Class Fluent.MenuPanel

Represents panel for menu items an over stuff
Inheritance: System.Windows.Controls.Panel
Show file Open project: Gainedge/BetterExplorer Class Usage Examples

Public Methods

Method Description
MenuPanel ( ) : System

Default constructor

OnItemVisibilityChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMenuLoaded ( object sender, RoutedEventArgs e ) : void

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size

When overridden in a derived class, positions child elements and determines a size for a System.Windows.FrameworkElement derived class.

MeasureOverride ( System availableSize ) : Size

When overridden in a derived class, measures the size in layout required for child elements and determines a size for the System.Windows.FrameworkElement-derived class.

OnVisualChildrenChanged ( DependencyObject visualAdded, DependencyObject visualRemoved ) : void

Invoked when the VisualCollection of a visual object is modified.

Private Methods

Method Description
InvalidateUpdateMenuSizes ( ) : void
OnItemSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
UpdateMenuSizes ( ) : void

Method Details

ArrangeOverride() protected method

When overridden in a derived class, positions child elements and determines a size for a System.Windows.FrameworkElement derived class.
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size The final area within the parent that this element /// should use to arrange itself and its children.
return System.Windows.Size

MeasureOverride() protected method

When overridden in a derived class, measures the size in layout required for child elements and determines a size for the System.Windows.FrameworkElement-derived class.
protected MeasureOverride ( System availableSize ) : Size
availableSize System The available size that this element can give to child elements. Infinity can be specified as a value /// to indicate that the element will size to whatever content is available.
return System.Windows.Size

MenuPanel() public method

Default constructor
public MenuPanel ( ) : System
return System

OnItemVisibilityChanged() public method

public OnItemVisibilityChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
sender object
e System.Windows.DependencyPropertyChangedEventArgs
return void

OnMenuLoaded() public method

public OnMenuLoaded ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

OnVisualChildrenChanged() protected method

Invoked when the VisualCollection of a visual object is modified.
protected OnVisualChildrenChanged ( DependencyObject visualAdded, DependencyObject visualRemoved ) : void
visualAdded System.Windows.DependencyObject The Visual that was added to the collection
visualRemoved System.Windows.DependencyObject The Visual that was removed from the collection
return void