-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed an issue that left a lot of white space after a listview contro…
…l search Fixed an issue that left a lot of white space after a listview control search
- Loading branch information
1 parent
2a96a63
commit 91c41ab
Showing
16 changed files
with
917 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
using System; | ||
using System.ComponentModel; | ||
using Windows.UI.Xaml; | ||
|
||
namespace WindowsTools.Models | ||
{ | ||
/// <summary> | ||
/// 网络回环数据模型 | ||
/// </summary> | ||
public class LoopbackModel : INotifyPropertyChanged | ||
{ | ||
private Visibility _isVisible; | ||
|
||
public Visibility IsVisible | ||
{ | ||
get { return _isVisible; } | ||
|
||
set | ||
{ | ||
if (!Equals(_isVisible, value)) | ||
{ | ||
_isVisible = value; | ||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(IsVisible))); | ||
} | ||
} | ||
} | ||
|
||
private bool _isChecked; | ||
|
||
public bool IsChecked | ||
{ | ||
get { return _isChecked; } | ||
|
||
set | ||
{ | ||
if (!Equals(_isChecked, value)) | ||
{ | ||
_isChecked = value; | ||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(IsChecked))); | ||
} | ||
} | ||
} | ||
|
||
public bool IsOldChecked { get; set; } | ||
|
||
/// <summary> | ||
/// 应用程序运行的二进制路径 | ||
/// </summary> | ||
public string[] StringBinaries { get; set; } | ||
|
||
/// <summary> | ||
/// 应用容器的全局唯一名称 | ||
/// </summary> | ||
public string AppContainerName { get; set; } | ||
|
||
/// <summary> | ||
/// 应用容器的友好名称 | ||
/// </summary> | ||
public string DisplayName { get; set; } | ||
|
||
/// <summary> | ||
/// 应用容器其用途的说明、使用该容器的应用程序的目标等 | ||
/// </summary> | ||
public string Description { get; set; } | ||
|
||
public string PackageFullName { get; set; } | ||
|
||
/// <summary> | ||
/// 应用容器的工作目录 | ||
/// </summary> | ||
public string WorkingDirectory { get; set; } | ||
|
||
/// <summary> | ||
/// 应用容器所属用户的名称 | ||
/// </summary> | ||
public string UserAccountSIDName { get; set; } | ||
|
||
/// <summary> | ||
/// 应用容器的包标识符 | ||
/// </summary> | ||
public IntPtr AppContainerSID { get; set; } | ||
|
||
/// <summary> | ||
/// 应用容器的包标识符名称 | ||
/// </summary> | ||
public string AppContainerSIDName { get; set; } | ||
|
||
public event PropertyChangedEventHandler PropertyChanged; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.