|
|
|
@ -1,13 +1,11 @@ |
|
|
|
using System; |
|
|
|
using System.ComponentModel; |
|
|
|
using System.Reactive.Linq; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Avalonia.Controls; |
|
|
|
using Avalonia.Diagnostics.Models; |
|
|
|
using Avalonia.Input; |
|
|
|
using Avalonia.Metadata; |
|
|
|
using Avalonia.Threading; |
|
|
|
using System.Linq; |
|
|
|
|
|
|
|
namespace Avalonia.Diagnostics.ViewModels |
|
|
|
{ |
|
|
|
@ -96,7 +94,9 @@ namespace Avalonia.Diagnostics.ViewModels |
|
|
|
changed = false; |
|
|
|
} |
|
|
|
if (changed) |
|
|
|
RaiseAndSetIfChanged(ref _shouldVisualizeDirtyRects, value); |
|
|
|
{ |
|
|
|
RaiseAndSetIfChanged(ref _shouldVisualizeDirtyRects, value); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -331,7 +331,7 @@ namespace Avalonia.Diagnostics.ViewModels |
|
|
|
private set => RaiseAndSetIfChanged(ref _showImplementedInterfaces , value); |
|
|
|
} |
|
|
|
|
|
|
|
public void ToggleShowImplementedInterfaces(object parametr) |
|
|
|
public void ToggleShowImplementedInterfaces(object parameter) |
|
|
|
{ |
|
|
|
ShowImplementedInterfaces = !ShowImplementedInterfaces; |
|
|
|
if (Content is TreePageViewModel viewModel) |
|
|
|
@ -340,15 +340,15 @@ namespace Avalonia.Diagnostics.ViewModels |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public bool ShowDettailsPropertyType |
|
|
|
public bool ShowDetailsPropertyType |
|
|
|
{ |
|
|
|
get => _showPropertyType; |
|
|
|
private set => RaiseAndSetIfChanged(ref _showPropertyType , value); |
|
|
|
} |
|
|
|
|
|
|
|
public void ToggleShowDettailsPropertyType(object paramter) |
|
|
|
public void ToggleShowDetailsPropertyType(object parameter) |
|
|
|
{ |
|
|
|
ShowDettailsPropertyType = !ShowDettailsPropertyType; |
|
|
|
ShowDetailsPropertyType = !ShowDetailsPropertyType; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|