Click or drag to resize
CfxBoxLayoutSettings Class

[This is preliminary documentation and is subject to change.]

Settings used when initializing a CfxBoxLayout.
Inheritance Hierarchy
SystemObject
  ChromiumCfxObject
    ChromiumCfxStructure
      ChromiumCfxBoxLayoutSettings

Namespace: Chromium
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public sealed class CfxBoxLayoutSettings : CfxStructure

The CfxBoxLayoutSettings type exposes the following members.

Constructors
  NameDescription
Public methodCfxBoxLayoutSettings
Initializes a new instance of the CfxBoxLayoutSettings class
Top
Properties
  NameDescription
Public propertyBetweenChildSpacing
Adds additional space between child views.
Public propertyCrossAxisAlignment
Specifies where along the cross axis the child views should be laid out.
Public propertyDefaultFlex
Default flex for views when none is specified via CfxBoxLayout methods. Using the preferred size as the basis, free space along the main axis is distributed to views in the ratio of their flex weights. Similarly, if the views will overflow the parent, space is subtracted in these ratios. A flex of 0 means this view is not resized. Flex values must not be negative.
Public propertyHorizontal
If true (1) the layout will be horizontal, otherwise the layout will be vertical.
Public propertyInsideBorderHorizontalSpacing
Adds additional horizontal space between the child view area and the host view border.
Public propertyInsideBorderInsets
Adds additional space around the child view area.
Public propertyInsideBorderVerticalSpacing
Adds additional vertical space between the child view area and the host view border.
Public propertyMainAxisAlignment
Specifies where along the main axis the child views should be laid out.
Public propertyMinimumCrossAxisSize
Minimum cross axis size.
Top
Remarks
See also the original CEF documentation in cef/include/internal/cef_types.h.
See Also