C# Класс ESRI.ArcGIS.SilverlightMapApp.WindowPanel

Наследование: System.Windows.Controls.ContentControl
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ContentTitleProperty System.Windows.DependencyProperty
IsOpenProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

Hide() публичный Метод

public Hide ( ) : void
Результат void

OnApplyTemplate() публичный Метод

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
Результат void

Show() публичный Метод

public Show ( ) : void
Результат void

Toggle() публичный Метод

Toggles this show/hide state.
public Toggle ( ) : void
Результат void

WindowPanel() публичный Метод

Initializes a new instance of the WindowPanel class.
public WindowPanel ( ) : System
Результат System

Описание свойств

ContentTitleProperty публичное статическое свойство

Identifies the ContentTitle dependency property.
public static DependencyProperty,System.Windows ContentTitleProperty
Результат System.Windows.DependencyProperty

IsOpenProperty публичное статическое свойство

Identifies the ContentTitle dependency property.
public static DependencyProperty,System.Windows IsOpenProperty
Результат System.Windows.DependencyProperty