Created
January 27, 2017 15:37
-
-
Save ionoy/19c7c326c97db293bfaa4e8eac999a46 to your computer and use it in GitHub Desktop.
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
alias MyTextBox(text) { | |
TextBox { | |
} | |
} | |
Window "Ammy.Test.Workbench.MainWindow" { | |
@MyTextBox("2") { | |
PreviewTextInput: "NumberValidationTextBox" | |
Text: bind CustomWidth | |
set [ | |
ValidationRules: [ | |
DoubleValidation { | |
CanBeNull: "False" | |
MinValue: "500" | |
MaxValue: "6200" | |
ValueName: "Width" | |
} | |
] | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment