UTKIntPropertyItemView, UTKIntRangePropertyItemView UTKNumberStepper 적용
This commit is contained in:
@@ -180,17 +180,13 @@ namespace UVC.Sample.UIToolkit
|
||||
entries.Add(new UTKDatePropertyItem("date", "Date", DateTime.Today));
|
||||
|
||||
// Date (읽기 전용)
|
||||
var roDate = new UTKDatePropertyItem("date_ro", "Date (RO)", DateTime.Today.AddDays(7));
|
||||
roDate.IsReadOnly = true;
|
||||
entries.Add(roDate);
|
||||
entries.Add(new UTKDatePropertyItem("date_ro", "Date (RO)", DateTime.Today.AddDays(7), true));
|
||||
|
||||
// DateTime (편집 가능)
|
||||
entries.Add(new UTKDateTimePropertyItem("datetime", "DateTime", DateTime.Now));
|
||||
|
||||
// DateTime (읽기 전용)
|
||||
var roDateTime = new UTKDateTimePropertyItem("datetime_ro", "DateTime (RO)", DateTime.Now.AddHours(1));
|
||||
roDateTime.IsReadOnly = true;
|
||||
entries.Add(roDateTime);
|
||||
entries.Add(new UTKDateTimePropertyItem("datetime_ro", "DateTime (RO)", DateTime.Now.AddHours(1), true));
|
||||
|
||||
// DateRange (편집 가능)
|
||||
entries.Add(new UTKDateRangePropertyItem("daterange", "DateRange",
|
||||
@@ -244,9 +240,13 @@ namespace UVC.Sample.UIToolkit
|
||||
entries.Add(new UTKIntRangePropertyItem("intrange", "IntRange", 10, 90));
|
||||
|
||||
// IntRange (읽기 전용)
|
||||
var roIntRange = new UTKIntRangePropertyItem("intrange_ro", "IntRange (RO)", 20, 80);
|
||||
roIntRange.IsReadOnly = true;
|
||||
entries.Add(roIntRange);
|
||||
entries.Add(new UTKIntRangePropertyItem("intrange_ro", "IntRange (RO)", 20, 80, isReadOnly: true));
|
||||
|
||||
// IntRange (편집 가능)
|
||||
entries.Add(new UTKIntRangePropertyItem("intrange2", "IntRange2", 10, 90, useStepper: true));
|
||||
|
||||
// IntRange (읽기 전용)
|
||||
entries.Add(new UTKIntRangePropertyItem("intrange2_ro", "IntRange2 (RO)", 20, 80, useStepper: true, isReadOnly: true));
|
||||
|
||||
// FloatRange (편집 가능)
|
||||
entries.Add(new UTKFloatRangePropertyItem("floatrange", "FloatRange", 1.5f, 8.5f));
|
||||
|
||||
Reference in New Issue
Block a user