C# Class ESRI.ArcGIS.SilverlightMapApp.DropDownMenu

Resizable and draggable custom window control
Inheritance: System.Windows.Controls.ContentControl
Show file Open project: Esri/arcgis-templates-silverlight

Public Properties

Property Type Description
MenuHeaderProperty System.Windows.DependencyProperty
MenuHeaderTemplateProperty System.Windows.DependencyProperty

Public Methods

Method Description
DropDownMenu ( ) : System.Windows
OnApplyTemplate ( ) : void

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call M:System.Windows.Controls.Control.ApplyTemplate.

Protected Methods

Method Description
OnContentChanged ( object oldContent, object newContent ) : void

Private Methods

Method Description
DropDownMenu_MouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void
DropDownMenu_MouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void
GoToState ( bool useTransitions, string stateName ) : bool

Method Details

DropDownMenu() public method

public DropDownMenu ( ) : System.Windows
return System.Windows

OnApplyTemplate() public method

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call M:System.Windows.Controls.Control.ApplyTemplate.
public OnApplyTemplate ( ) : void
return void

OnContentChanged() protected method

protected OnContentChanged ( object oldContent, object newContent ) : void
oldContent object
newContent object
return void

Property Details

MenuHeaderProperty public static property

Identifies the MenuContent dependency property.
public static DependencyProperty,System.Windows MenuHeaderProperty
return System.Windows.DependencyProperty

MenuHeaderTemplateProperty public static property

Identifies the HeaderTemplate dependency property.
public static DependencyProperty,System.Windows MenuHeaderTemplateProperty
return System.Windows.DependencyProperty