UTKFloatStepper 추가. UTKFloatPropertyItem, UTKFloatPropertyItemView에 추가
This commit is contained in:
@@ -30,6 +30,9 @@ namespace UVC.UIToolkit
|
||||
get => _maxLength;
|
||||
set => _maxLength = value;
|
||||
}
|
||||
|
||||
/// <summary>액션 버튼 설정 (null이면 버튼 미표시)</summary>
|
||||
public UTKButtonItem? ActionButton { get; set; }
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
@@ -42,12 +45,14 @@ namespace UVC.UIToolkit
|
||||
/// <param name="isMultiline">멀티라인 모드</param>
|
||||
/// <param name="maxLength">최대 문자 길이</param>
|
||||
/// <param name="isReadOnly">읽기 전용 여부</param>
|
||||
public UTKStringPropertyItem(string id, string name, string initialValue = "", bool isMultiline = false, int maxLength = -1, bool isReadOnly = false)
|
||||
/// <param name="actionButton">액션 버튼</param>
|
||||
public UTKStringPropertyItem(string id, string name, string initialValue = "", bool isMultiline = false, int maxLength = -1, bool isReadOnly = false, UTKButtonItem? actionButton = null)
|
||||
: base(id, name, initialValue ?? string.Empty)
|
||||
{
|
||||
IsReadOnly = isReadOnly;
|
||||
_isMultiline = isMultiline;
|
||||
_maxLength = maxLength;
|
||||
ActionButton = actionButton;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user