Momentary button
Button whose value is set for a minimum time (if set) or as long as it is held down, but not longer than a maximum time (if set)
- BrowseName
- MomentaryButton
- SuperType
- Button(Button)
Properties
| Name | BrowseName | DataType | Description |
|---|---|---|---|
| Active | Active | Boolean | True if the button is held down or after a minimum hold time (if set); false if the button is released or after a maximum hold time (if set) |
| Minimum hold time | MinHoldTime | Duration | Minimum duration of active state |
| Maximum hold time | MaxHoldTime | Duration | Maximum duration of active state |
| Text | Text | LocalizedText | (Inherited from Button) |
| Appearance | Appearance | String | (Inherited from Button) |
| Image path | ImagePath | ResourceUri | (Inherited from Button) |
| Image position | ImagePosition | Position | (Inherited from Button) |
| Text position | TextPosition | Position | (Inherited from Button) |
| Image width | ImageWidth | Size | (Inherited from Button) |
| Image height | ImageHeight | Size | (Inherited from Button) |
| Word wrap | WordWrap | Boolean | (Inherited from Button) |
| Text trimming | Elide | Text trimming | (Inherited from Button) |
| Font family | FontFamily | Font | (Inherited from Button) |
| Font weight | FontWeight | Font weight | (Inherited from Button) |
| Font italic | FontItalic | Boolean | (Inherited from Button) |
| Font size | FontSize | Size | (Inherited from Button) |
| Text color | TextColor | Color | (Inherited from Button) |
| Background color | BackgroundColor | Color | (Inherited from Button) |
| Style | Style | String | (Inherited from Button) |
| Visible | Visible | Boolean | (Inherited from Element) |
| Enabled | Enabled | Boolean | (Inherited from Element) |
| Opacity | Opacity | Float | (Inherited from Element) |
| Left margin | LeftMargin | Size | (Inherited from Element) |
| Top margin | TopMargin | Size | (Inherited from Element) |
| Right margin | RightMargin | Size | (Inherited from Element) |
| Bottom margin | BottomMargin | Size | (Inherited from Element) |
| Width | Width | Size | (Inherited from Element) |
| Height | Height | Size | (Inherited from Element) |
| Horizontal alignment | HorizontalAlignment | Horizontal alignment | (Inherited from Element) |
| Vertical alignment | VerticalAlignment | Vertical alignment | (Inherited from Element) |
| Rotation | Rotation | Size | (Inherited from Element) |
