* UITreeView: 增加LabelEdit属性
This commit is contained in:
parent
c01b187bad
commit
766b1e6513
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -87,6 +87,13 @@ namespace Sunny.UI
|
|||||||
public new event KeyEventHandler KeyDown;
|
public new event KeyEventHandler KeyDown;
|
||||||
public new event KeyEventHandler KeyUp;
|
public new event KeyEventHandler KeyUp;
|
||||||
|
|
||||||
|
[DefaultValue(false)]
|
||||||
|
public bool LabelEdit
|
||||||
|
{
|
||||||
|
get => view.LabelEdit;
|
||||||
|
set => view.LabelEdit = true;
|
||||||
|
}
|
||||||
|
|
||||||
private void View_KeyUp(object sender, KeyEventArgs e)
|
private void View_KeyUp(object sender, KeyEventArgs e)
|
||||||
{
|
{
|
||||||
KeyUp?.Invoke(this, e);
|
KeyUp?.Invoke(this, e);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user