mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 06:55:04 +00:00
Use expression bodies for properties
This commit is contained in:
parent
e8b37f03ff
commit
74ba508e26
33 changed files with 194 additions and 230 deletions
|
|
@ -42,8 +42,8 @@ namespace MapControl
|
|||
/// </summary>
|
||||
public double MouseWheelZoomDelta
|
||||
{
|
||||
get { return (double)GetValue(MouseWheelZoomDeltaProperty); }
|
||||
set { SetValue(MouseWheelZoomDeltaProperty, value); }
|
||||
get => (double)GetValue(MouseWheelZoomDeltaProperty);
|
||||
set => SetValue(MouseWheelZoomDeltaProperty, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -51,8 +51,8 @@ namespace MapControl
|
|||
/// </summary>
|
||||
public ManipulationModes ManipulationMode
|
||||
{
|
||||
get { return (ManipulationModes)GetValue(ManipulationModeProperty); }
|
||||
set { SetValue(ManipulationModeProperty, value); }
|
||||
get => (ManipulationModes)GetValue(ManipulationModeProperty);
|
||||
set => SetValue(ManipulationModeProperty, value);
|
||||
}
|
||||
|
||||
private void OnManipulationStarted(object sender, ManipulationStartedEventArgs e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue