C# Class csShared.Controls.Popups.MapCallOut.MapCallOutViewModel

Inheritance: Caliburn.Micro.Screen, IPopupScreen
Mostrar archivo Open project: TNOCS/csTouch Class Usage Examples

Public Methods

Method Description
Clicked ( ) : void
Clicked2 ( System.Windows.Input.TouchEventArgs e ) : void
Close ( ) : void
Close ( EventArgs e ) : void
DoSimulateFocusChange ( ) : void

When binding a property to a textbox/combox the property is not updated when a menu item is selected (because this doesn't cause a focus change) This method writes the value in the gui to the property from the active element!

Drag ( object sender, CallOutAction context, EventArgs e ) : void
EnableZoom ( System.Windows.Media.Brush iconBrush ) : void
Pin ( EventArgs e = null ) : void
ResetTimer ( ) : void
StartEditing ( ) : void
StartTimer ( ) : void
StopTimer ( ) : void
TapAction ( CallOutAction action, EventArgs e ) : void
UpdateCallout ( ) : void

Protected Methods

Method Description
OnEditing ( ) : void
OnViewLoaded ( object view ) : void

Private Methods

Method Description
CreateAndStartTimer ( ) : void
GraphicPropertyChanged ( object sender, System e ) : void
MapControlExtentChanged ( object sender, ExtentEventArgs e ) : void
MapControlExtentChanging ( object sender, ExtentEventArgs e ) : void
ToTimerTick ( object sender, EventArgs e ) : void
mcov_MouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void
mcov_MouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void

Method Details

Clicked() public method

public Clicked ( ) : void
return void

Clicked2() public method

public Clicked2 ( System.Windows.Input.TouchEventArgs e ) : void
e System.Windows.Input.TouchEventArgs
return void

Close() public method

public Close ( ) : void
return void

Close() public method

public Close ( EventArgs e ) : void
e System.EventArgs
return void

DoSimulateFocusChange() public static method

When binding a property to a textbox/combox the property is not updated when a menu item is selected (because this doesn't cause a focus change) This method writes the value in the gui to the property from the active element!
public static DoSimulateFocusChange ( ) : void
return void

Drag() public method

public Drag ( object sender, CallOutAction context, EventArgs e ) : void
sender object
context CallOutAction
e System.EventArgs
return void

EnableZoom() public method

public EnableZoom ( System.Windows.Media.Brush iconBrush ) : void
iconBrush System.Windows.Media.Brush
return void

OnEditing() protected method

protected OnEditing ( ) : void
return void

OnViewLoaded() protected method

protected OnViewLoaded ( object view ) : void
view object
return void

Pin() public method

public Pin ( EventArgs e = null ) : void
e System.EventArgs
return void

ResetTimer() public method

public ResetTimer ( ) : void
return void

StartEditing() public method

public StartEditing ( ) : void
return void

StartTimer() public method

public StartTimer ( ) : void
return void

StopTimer() public method

public StopTimer ( ) : void
return void

TapAction() public method

public TapAction ( CallOutAction action, EventArgs e ) : void
action CallOutAction
e System.EventArgs
return void

UpdateCallout() public method

public UpdateCallout ( ) : void
return void