toolbar 개발 중
This commit is contained in:
@@ -1,16 +1,19 @@
|
||||
namespace UVC.UI.ToolBar
|
||||
namespace UVC.UI.Toolbar
|
||||
{
|
||||
/// <summary>
|
||||
/// 일반적인 클릭 버튼입니다.
|
||||
/// </summary>
|
||||
public class ToolbarStandardButton : ToolbarButtonBase
|
||||
{
|
||||
public override void ExecuteClick()
|
||||
{
|
||||
if (IsEnabled && OnClick != null)
|
||||
{
|
||||
OnClick.Invoke();
|
||||
}
|
||||
}
|
||||
// 생성자 또는 초기화 메서드가 있다면 ICommand를 받도록 수정
|
||||
// 예: public ToolbarStandardButton(ICommand command) { this.ClickCommand = command; }
|
||||
|
||||
// ToolbarButtonBase의 ExecuteClick을 그대로 사용하거나,
|
||||
// 필요시 override 할 수 있습니다.
|
||||
// public override void ExecuteClick()
|
||||
// {
|
||||
// base.ExecuteClick(); // 기본 Command 실행
|
||||
// // 추가적인 StandardButton만의 로직
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user