Class LayoutItemHandler
Inheritance
System.Object
LayoutItemHandler
Implements
System.ICloneable
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class LayoutItemHandler : GroupItemHandler, ICloneable, IDisposable, IContainerItemHandler
Constructors
LayoutItemHandler(IConfiguration, IFileCache, IColorManagement, ILogger, IGmColorConverter, LayoutItem)
Declaration
public LayoutItemHandler(IConfiguration configuration, IFileCache fileCache, IColorManagement colorManagement, ILogger ccLogger, IGmColorConverter gmColorConverter, LayoutItem item)
Parameters
Properties
IsEmpty
Declaration
public override bool IsEmpty { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
Item
Declaration
public LayoutItem Item { get; }
Property Value
Rectangle
Declaration
public override RotatedRectangleF Rectangle { get; set; }
Property Value
Overrides
Visible
Declaration
public override bool Visible { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
Methods
ApplyLayout()
Declaration
public void ApplyLayout()
GenerateAutoLayoutSettings(List<RectangleF>, Nullable<AutoLayoutSettings.AutoLayoutAlignItems>, Nullable<AutoLayoutSettings.AutoLayoutOrientation>, Nullable<Single>, Nullable<AutoLayoutSettings.AutoLayoutAnchorPoint>)
Declaration
public static AutoLayoutSettings GenerateAutoLayoutSettings(List<RectangleF> rectangles, AutoLayoutSettings.AutoLayoutAlignItems? alignItems = null, AutoLayoutSettings.AutoLayoutOrientation? orientation = null, float? margin = null, AutoLayoutSettings.AutoLayoutAnchorPoint? anchorPoint = null)
Parameters
Returns
GetNestedItemHandlers(Boolean, Boolean, Boolean)
Declaration
public override List<ItemHandler> GetNestedItemHandlers(bool excludeGroupItems = false, bool reversedZOrder = false, bool onlyVisible = false)
Parameters
| Type |
Name |
Description |
| System.Boolean |
excludeGroupItems |
|
| System.Boolean |
reversedZOrder |
|
| System.Boolean |
onlyVisible |
|
Returns
| Type |
Description |
| System.Collections.Generic.List<ItemHandler> |
|
Overrides
GetSortedItems()
Declaration
public List<LayoutItem> GetSortedItems()
Returns
| Type |
Description |
| System.Collections.Generic.List<LayoutItem> |
|
GetSortedNestedLayouts()
Declaration
public List<LayoutItemHandler> GetSortedNestedLayouts()
Returns
Init()
Declaration
InitLayoutItem(IItemHandlerFactory, LayoutItem)
Declaration
public static void InitLayoutItem(IItemHandlerFactory itemHandlerFactory, LayoutItem layoutItem)
Parameters
Implements
System.ICloneable
System.IDisposable