C# 클래스 ESRI.ArcGIS.SilverlightMapApp.DraggableWindow

상속: System.Windows.Controls.ContentControl
파일 보기 프로젝트 열기: Esri/arcgis-templates-silverlight 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ContentBackgroundBorderProperty System.Windows.DependencyProperty
ContentBackgroundProperty System.Windows.DependencyProperty
HorizontalOffsetProperty System.Windows.DependencyProperty
IsCloseButtonVisibleProperty System.Windows.DependencyProperty
IsDraggableProperty System.Windows.DependencyProperty
IsHeaderVisibleProperty System.Windows.DependencyProperty
IsHeightResizeableProperty System.Windows.DependencyProperty
IsOpenProperty System.Windows.DependencyProperty
IsWidthResizeableProperty System.Windows.DependencyProperty
TitleProperty System.Windows.DependencyProperty
VerticalOffsetProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
DraggableWindow ( ) : System.Windows

Initializes a new instance of the DraggableWindow class.

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.

showCloseButton ( bool show ) : void

보호된 메소드들

메소드 설명
OnClosed ( ) : void

Called when windows is closed.

OnOpened ( ) : void

Called when windows is opened.

비공개 메소드들

메소드 설명
ChangeVisualState ( bool useTransitions ) : void

Updates the visual state of the control.

GoToState ( bool useTransitions, string stateName ) : bool
OnContentBackgroundBorderPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnContentBackgroundPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnHorizontalOffsetPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

HorisontalOffsetProperty property changed handler.

OnIsCloseButtonVisiblePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsHeaderVisiblePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsHeightResizeablePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

IsHeightResizeableProperty property changed handler.

OnIsOpenPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

IsOpenProperty property changed handler.

OnIsWidthResizeablePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

IsWidthResizeableProperty property changed handler.

OnVerticalOffsetPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

VerticalOffsetProperty property changed handler.

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

Handles the MouseLeave event of the Resize area.

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

Handles the MouseLeftButtonDown event of the Resize area.

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

Handles the MouseLeftButtonUp event of the Resize area.

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

Handles the MouseMove event of the Resize area.

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

Handles the MouseLeave event of the RootVisual control.

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

Handles the MouseLeftButtonUp event of the RootVisual control.

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

Handles the MouseMove event of the RootVisual control.

StopDrag ( ) : void

Stops tracking window drag.

StopResize ( ) : void

Cleanup of event handlers. Called when resize has ended.

topbar_LostMouseCapture ( object sender, System.Windows.Input.MouseEventArgs e ) : void
topbar_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Starts tracking window drag

메소드 상세

DraggableWindow() 공개 메소드

Initializes a new instance of the DraggableWindow class.
public DraggableWindow ( ) : System.Windows
리턴 System.Windows

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.
public OnApplyTemplate ( ) : void
리턴 void

OnClosed() 보호된 메소드

Called when windows is closed.
protected OnClosed ( ) : void
리턴 void

OnOpened() 보호된 메소드

Called when windows is opened.
protected OnOpened ( ) : void
리턴 void

showCloseButton() 공개 메소드

public showCloseButton ( bool show ) : void
show bool
리턴 void

프로퍼티 상세

ContentBackgroundBorderProperty 공개적으로 정적으로 프로퍼티

Identifies the Title dependency property.
public static DependencyProperty,System.Windows ContentBackgroundBorderProperty
리턴 System.Windows.DependencyProperty

ContentBackgroundProperty 공개적으로 정적으로 프로퍼티

Identifies the Title dependency property.
public static DependencyProperty,System.Windows ContentBackgroundProperty
리턴 System.Windows.DependencyProperty

HorizontalOffsetProperty 공개적으로 정적으로 프로퍼티

Identifies the HorizontalOffset dependency property.
public static DependencyProperty,System.Windows HorizontalOffsetProperty
리턴 System.Windows.DependencyProperty

IsCloseButtonVisibleProperty 공개적으로 정적으로 프로퍼티

Identifies the IsCloseButtonHidden dependency property
public static DependencyProperty,System.Windows IsCloseButtonVisibleProperty
리턴 System.Windows.DependencyProperty

IsDraggableProperty 공개적으로 정적으로 프로퍼티

Identifies the IsDraggable dependency property.
public static DependencyProperty,System.Windows IsDraggableProperty
리턴 System.Windows.DependencyProperty

IsHeaderVisibleProperty 공개적으로 정적으로 프로퍼티

Identifies the IsHeaderHidden dependency property
public static DependencyProperty,System.Windows IsHeaderVisibleProperty
리턴 System.Windows.DependencyProperty

IsHeightResizeableProperty 공개적으로 정적으로 프로퍼티

Identifies the IsHeightResizeable dependency property.
public static DependencyProperty,System.Windows IsHeightResizeableProperty
리턴 System.Windows.DependencyProperty

IsOpenProperty 공개적으로 정적으로 프로퍼티

Identifies the IsOpen dependency property.
public static DependencyProperty,System.Windows IsOpenProperty
리턴 System.Windows.DependencyProperty

IsWidthResizeableProperty 공개적으로 정적으로 프로퍼티

Identifies the IsWidthResizeable dependency property.
public static DependencyProperty,System.Windows IsWidthResizeableProperty
리턴 System.Windows.DependencyProperty

TitleProperty 공개적으로 정적으로 프로퍼티

Identifies the Title dependency property.
public static DependencyProperty,System.Windows TitleProperty
리턴 System.Windows.DependencyProperty

VerticalOffsetProperty 공개적으로 정적으로 프로퍼티

Identifies the VerticalOffset dependency property.
public static DependencyProperty,System.Windows VerticalOffsetProperty
리턴 System.Windows.DependencyProperty