Enumerations
LayoutEnums.h File Reference
#include <UI\UIFramework.h>
#include <UI\Layout\LayoutEnums.r.h>

Go to the source code of this file.

Enumerations

enum  AlignmentFlag {
  Align_None = 0x0000, Align_Left = 0x0001, Align_Right = 0x0002, Align_HCenter = 0x0004,
  Align_Justify = 0x0008, Align_Absolute = 0x0010, Align_Top = 0x0020, Align_Bottom = 0x0040,
  Align_VCenter = 0x0080, Align_Center = Align_VCenter | Align_HCenter, Align_HorizontalMask = Align_Left | Align_Right | Align_HCenter | Align_Justify | Align_Absolute, Align_VerticalMask = Align_Top | Align_Bottom | Align_VCenter
}
 AlignmentFlag / Alignment. More...
 
enum  LayoutDirection {
  LD_LeftToRight, LD_RightToLeft, LD_TopToBottom, LD_BottomToTop,
  LD_LayoutDirectionAuto
}
 This type is used to determine the direction of a layout. More...
 
enum  LayoutOrientation { LO_Horizontal = 0x1, LO_Vertical = 0x2 }
 This type is used to signify an object's orientation. More...
 
enum  LayoutMargin { LM_LeftMargin, LM_TopMargin, LM_RightMargin, LM_BottomMargin }
 Argument type in GetMargin methods. More...
 
enum  LayoutSpacing { LS_HorizontalSpacing, LS_VerticalSpacing }
 Argument type in SmartSpacing and GetSpacing methods. More...
 
enum  SizeConstraint {
  SC_SetDefaultConstraint, SC_SetNoConstraint, SC_SetMinimumSize, SC_SetFixedSize,
  SC_SetMaximumSize, SC_SetMinAndMaxSize
}
 SetDefaultConstraint - The window's minimum size is set to GetMinimumSize(), unless the window already has a minimum size. More...
 
enum  SplitterBoundType { SetToMin = 1, SetToMax = 2 }
 SetToMin - The position of the Splitter set to Minimum. More...
 

Enumeration Type Documentation

Argument type in SmartSpacing and GetSpacing methods.

Enumerator
LS_HorizontalSpacing 
LS_VerticalSpacing 

SetDefaultConstraint - The window's minimum size is set to GetMinimumSize(), unless the window already has a minimum size.

This is the default.

SetFixedSize - The window's size is set to GetDesiredSize(); it cannot be resized at all.

SetMinimumSize - The window's minimum size is set to GetMinimumSize(); it cannot be smaller.

SetMaximumSize - The window's maximum size is set to GetMaximumSize(); it cannot be larger.

SetMinAndMaxSize - The window's minimum size is set to GetMinimumSize() and its maximum size is set to GetMaximumSize().

SetNoConstraint - The window is not constrained.

Enumerator
SC_SetDefaultConstraint 
SC_SetNoConstraint 
SC_SetMinimumSize 
SC_SetFixedSize 
SC_SetMaximumSize 
SC_SetMinAndMaxSize 

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.