The EdgeValue is responsible for setting an offset value relative to its closest sibling or parent. It is used in the margin, padding and position properties of Style.
Its structure is represented as shown below:
Attribute | Type | Mandatory | Definition |
---|---|---|---|
left | UnitValue | Sets a left offset value relative to its closest sibling or parent. | |
top | UnitValue | Sets a top offset value relative to its closest sibling or parent. | |
right | UnitValue | Sets a right offset value relative to its closest sibling or parent. | |
bottom | UnitValue | Sets a bottom offset value relative to its closest sibling or parent. | |
horizontal | UnitValue | Sets a left and right offset value relative to its closest sibling or parent. | |
vertical | UnitValue | DSets a top and bottom offset value relative to its closest sibling or parent. | |
all | UnitValue | Sets offset value to all directions relative to its closest sibling or parent. |
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.