-
Notifications
You must be signed in to change notification settings - Fork 3
Layout attributes overivew
ElbyFross edited this page Dec 16, 2019
·
4 revisions
All default layout attributes divided to the four namespaces:
-
WpfHandler.UI.AutoLayout.Configuration
- for attributes that affecting layout or autolayout hadndler. -
WpfHandler.UI.AutoLayout.Controls
- for attributes that cause instiniating of extra controls to the layout. -
WpfHandler.UI.AutoLayout.Options
- for attributes that affecting properties of the current control in the handler -
WpfHandler.UI.AutoLayout.Markups
- for attributes that using as markups for handlers.
-
BeginHorizontalGroup
- starting a horizontal layout group. Could be closed by theEndGroup
orLayoutLayer.GoUpper()
. -
BeginVerticalGroup
- starting a vertical layout group. Could be closed by theEndGroup
orLayoutLayer.GoUpper()
. -
EndGroup
- close a last started layout group.
-
HideInInspector
- exclude a member from auto-builded inspector. -
Order
- defines an order of the member into an auto-generated UI.
-
Content
- defines aGUIContent
applied to the member. -
CustomControl
- overrides a default control for a field type for the parent member.
-
Header
- adds a Header block element to the layout. -
Label
- adds a label to the layout before the member's field. -
Space
- adds the space before the member's field. Direction of the space depends from the layout'sOrientation
. Space is 10 points by default.
-
Background
- defines a background brush of the control. -
Foreground
- defines a foreground brush of the control. -
Style
- defines a custom style from resources that will applied to the GUI element.
-
FontSize
- defines a text font size for the control. -
LabelWidth
- redefines a label's width for the ILable objects.
-
Width
- defines a width of GUI element. -
MinWidth
- defines a min width of the GUI element. -
MaxWidth
- defines a max width of the GUI element.
-
Height
- defines a height of the GUI element. -
MinHeight
- defines a min height of the GUI element. -
MaxHeight
- defines a max allowed height of the GUI element.
-
HorizontalAlign
- defines a horizontal align of the GUI element. -
VerticalAlign
- defines a vertical align of the GUI element. -
Orientation
- defines an orentation of the UI element.
-
AutoCollectionProperties
- redefines default properties values for a control. Not affect any other controls.
-
TypesCompatible
- defines the types the compatible with the member (usually a class with implementedIGUIField
interface). -
IGUIElementBinding
- implementation of that interface marks the attribute as the one who using into specifying of a GUI element binding process. -
EnumsCompatible
- marks a GUI element as compatible with enum source fields. -
IListCompatible
- marks a GUI element as compatible withSystem.Collections.IList
members.
- Donate: Why support the initiative? | Patreon
- Contacts: LinkedIn
- See also: Doloro Networking Framework | Uniform Data Operator | Datum Point