C# Class SuperMap.Web.Controls.InfoWindow

${controls_InfoWindow_Title}

${controls_InfoWindow_Description}

Inheritance: System.Windows.Controls.ContentControl
Mostra file Open project: SuperMap/iClient-for-Silverlight Class Usage Examples

Public Properties

Property Type Description
TitleProperty System.Windows.DependencyProperty

Public Methods

Method Description
CloseInfoWindow ( ) : void

${controls_InfoWindow_method_CloseInfoWindow_D}

InfoWindow ( Map map ) : System

${controls_InfoWindow_constructor_None_D}

OnApplyTemplate ( ) : void

${controls_InfoWindow_method_OnApplyTemplate_D}

ShowInfoWindow ( ) : void

${controls_InfoWindow_method_ShowInfoWindow_None_D}

ShowInfoWindow ( Point2D location ) : void

${controls_InfoWindow_method_ShowInfoWindowPoint2D_D}

ShowInfoWindow ( Point2D loc, Point off ) : void

${controls_InfoWindow_method_ShowInfoWindowPo_D}

Protected Methods

Method Description
OnDragEnter ( System.Windows.DragEventArgs e ) : void

${controls_InfoWindow_event_OnDragEnter_D}

OnDragLeave ( System.Windows.DragEventArgs e ) : void

${controls_InfoWindow_event_OnDragLeave_D}

OnDragOver ( System.Windows.DragEventArgs e ) : void

${controls_InfoWindow_event_OnDragOver_D}

OnDrop ( System.Windows.DragEventArgs e ) : void

${controls_InfoWindow_event_OnDrop_D}

OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void

${controls_InfoWindow_event_OnKeyDown_D}

OnKeyUp ( System.Windows.Input.KeyEventArgs e ) : void

${controls_InfoWindow_event_OnKeyUp_D}

OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void

${controls_InfoWindow_event_OnMouseLeftButtonDown_D}

OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void

${controls_InfoWindow_event_OnMouseLeftButtonUp_D}

OnMouseRightButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void

${controls_InfoWindow_event_OnMouseRightButtonDown_D}

OnMouseRightButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void

${controls_InfoWindow_event_OnMouseRightButtonUp_D}

OnMouseWheel ( System.Windows.Input.MouseWheelEventArgs e ) : void

${controls_InfoWindow_event_OnMouseWheel_D}

Private Methods

Method Description
AdjustPisition ( ) : void
ChangePosition ( ) : void
CheckPosition ( Rect mapRect, Rect windowRect, Point windowCenterInScreen ) : Point2D
CloseButton_Click ( object sender, RoutedEventArgs e ) : void
CompositionTarget_Rendering ( object sender, EventArgs e ) : void
InfoWindow ( ) : System
InfoWindow_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
Map_LayoutUpdated ( object sender, EventArgs e ) : void
PanFromBottomMiddle ( Point centerPoint ) : Point2D
PanFromCenter ( Point centerPoint ) : Point2D
PanFromLeftBottom ( Point centerPoint ) : Point2D
PanFromLeftMiddle ( Point centerPoint ) : Point2D
PanFromLeftTop ( Point centerPoint ) : Point2D
PanFromRightBottom ( Point centerPoint ) : Point2D
PanFromRightMiddle ( Point centerPoint ) : Point2D
PanFromRightTop ( Point centerPoint ) : Point2D
PanFromTopMiddle ( Point centerPoint ) : Point2D
PanToLeftTop ( Point leftTop ) : Point2D

Method Details

CloseInfoWindow() public method

${controls_InfoWindow_method_CloseInfoWindow_D}
public CloseInfoWindow ( ) : void
return void

InfoWindow() public method

${controls_InfoWindow_constructor_None_D}
public InfoWindow ( Map map ) : System
map SuperMap.Web.Mapping.Map
return System

OnApplyTemplate() public method

${controls_InfoWindow_method_OnApplyTemplate_D}
public OnApplyTemplate ( ) : void
return void

OnDragEnter() protected method

${controls_InfoWindow_event_OnDragEnter_D}
protected OnDragEnter ( System.Windows.DragEventArgs e ) : void
e System.Windows.DragEventArgs ${controls_InfoWindow_event_OnDragEnter_param_e}
return void

OnDragLeave() protected method

${controls_InfoWindow_event_OnDragLeave_D}
protected OnDragLeave ( System.Windows.DragEventArgs e ) : void
e System.Windows.DragEventArgs ${controls_InfoWindow_event_OnDragLeave_param_e}
return void

OnDragOver() protected method

${controls_InfoWindow_event_OnDragOver_D}
protected OnDragOver ( System.Windows.DragEventArgs e ) : void
e System.Windows.DragEventArgs ${controls_InfoWindow_event_OnDragOver_param_e}
return void

OnDrop() protected method

${controls_InfoWindow_event_OnDrop_D}
protected OnDrop ( System.Windows.DragEventArgs e ) : void
e System.Windows.DragEventArgs ${controls_InfoWindow_event_OnDrop_param_e}
return void

OnKeyDown() protected method

${controls_InfoWindow_event_OnKeyDown_D}
protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs ${controls_InfoWindow_event_OnKeyDown_param_e}
return void

OnKeyUp() protected method

${controls_InfoWindow_event_OnKeyUp_D}
protected OnKeyUp ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs ${controls_InfoWindow_event_OnKeyUp_param_e}
return void

OnMouseLeftButtonDown() protected method

${controls_InfoWindow_event_OnMouseLeftButtonDown_D}
protected OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs ${controls_InfoWindow_event_OnMouseLeftButtonDown_param_e}
return void

OnMouseLeftButtonUp() protected method

${controls_InfoWindow_event_OnMouseLeftButtonUp_D}
protected OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs ${controls_InfoWindow_event_OnMouseLeftButtonUp_param_e}
return void

OnMouseRightButtonDown() protected method

${controls_InfoWindow_event_OnMouseRightButtonDown_D}
protected OnMouseRightButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs ${controls_InfoWindow_event_OnMouseRightButtonDown_param_e}
return void

OnMouseRightButtonUp() protected method

${controls_InfoWindow_event_OnMouseRightButtonUp_D}
protected OnMouseRightButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs ${controls_InfoWindow_event_OnMouseRightButtonUp_param_e}
return void

OnMouseWheel() protected method

${controls_InfoWindow_event_OnMouseWheel_D}
protected OnMouseWheel ( System.Windows.Input.MouseWheelEventArgs e ) : void
e System.Windows.Input.MouseWheelEventArgs ${controls_InfoWindow_event_OnMouseWheel_param_e}
return void

ShowInfoWindow() public method

${controls_InfoWindow_method_ShowInfoWindow_None_D}
public ShowInfoWindow ( ) : void
return void

ShowInfoWindow() public method

${controls_InfoWindow_method_ShowInfoWindowPoint2D_D}
public ShowInfoWindow ( Point2D location ) : void
location SuperMap.Web.Core.Point2D ${controls_InfoWindow_method_ShowInfoWindow_param_location}
return void

ShowInfoWindow() public method

${controls_InfoWindow_method_ShowInfoWindowPo_D}
public ShowInfoWindow ( Point2D loc, Point off ) : void
loc SuperMap.Web.Core.Point2D ${controls_InfoWindow_method_ShowInfoWindow_param_loc}
off Point ${controls_InfoWindow_method_ShowInfoWindow_param_off}
return void

Property Details

TitleProperty public_oe static_oe property

${controls_InfoWindow_attribute_TitleProperty_D}
public static DependencyProperty,System.Windows TitleProperty
return System.Windows.DependencyProperty