C# Class ESRI.ArcGIS.SilverlightMapApp.WindowPanel

Inheritance: System.Windows.Controls.ContentControl
Afficher le fichier Open project: Esri/arcgis-templates-silverlight Class Usage Examples

Méthodes publiques

Свойство Type Description
ContentTitleProperty System.Windows.DependencyProperty
IsOpenProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
Hide ( ) : void
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. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

Show ( ) : void
Toggle ( ) : void

Toggles this show/hide state.

WindowPanel ( ) : System

Initializes a new instance of the WindowPanel class.

Private Methods

Méthode Description
ChangeVisualState ( bool useTransitions ) : void

Hides the window.

OnIsOpenPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
headerDragRectangle_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Handles the MouseLeftButtonDown event of the headerDragRectangle control. This is fired when the user starts to drag the window.

headerDragRectangle_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Handles the MouseLeftButtonUp event of the headerDragRectangle control. This is fired when the user stopped dragging the window.

headerDragRectangle_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void

Handles the MouseMove event of the headerDragRectangle control. This is fired when the user is dragging the window.

imgClose_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Handles the MouseLeftButtonDown event of the imgClose control and collapses the control

Method Details

Hide() public méthode

public Hide ( ) : void
Résultat void

OnApplyTemplate() public méthode

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. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
public OnApplyTemplate ( ) : void
Résultat void

Show() public méthode

public Show ( ) : void
Résultat void

Toggle() public méthode

Toggles this show/hide state.
public Toggle ( ) : void
Résultat void

WindowPanel() public méthode

Initializes a new instance of the WindowPanel class.
public WindowPanel ( ) : System
Résultat System

Property Details

ContentTitleProperty public_oe static_oe property

Identifies the ContentTitle dependency property.
public static DependencyProperty,System.Windows ContentTitleProperty
Résultat System.Windows.DependencyProperty

IsOpenProperty public_oe static_oe property

Identifies the ContentTitle dependency property.
public static DependencyProperty,System.Windows IsOpenProperty
Résultat System.Windows.DependencyProperty