Search Results for

    Show / Hide Table of Contents

    Class LayoutManager

    A WPF layout manager for .NET.

    Inheritance
    System.Object
    Serializable
    Dynamic
    LayoutPreset
    LayoutManager<System.Windows.FrameworkElement>
    LayoutManager
    Inherited Members
    LayoutManager<FrameworkElement>.LayoutOrigin
    LayoutManager<FrameworkElement>.OnLayout
    LayoutManager<FrameworkElement>.GetLayout(Int32, Int32, Int32)
    LayoutManager<FrameworkElement>.GetLayout(Int32, Int32, Boolean, Int32)
    LayoutManager<FrameworkElement>.GetLayout(Int32, Int32, Int32, String[])
    LayoutManager<FrameworkElement>.GetLayout(Int32, Int32, Boolean, Int32, String[])
    LayoutManager<FrameworkElement>.GetLayout(Int32, Int32, Boolean, Int32, String[], Size, Size[])
    LayoutManager<FrameworkElement>.DoGetRemoteViews(String)
    LayoutManager<FrameworkElement>.DoGetRemoteViewsIds()
    LayoutManager<FrameworkElement>.DoGetLocalView()
    LayoutManager<FrameworkElement>.GetLocalView()
    LayoutManager<FrameworkElement>.SetLocalMedia(IViewableMedia<FrameworkElement>)
    LayoutManager<FrameworkElement>.SetLocalView(FrameworkElement)
    LayoutManager<FrameworkElement>.UnsetLocalView()
    LayoutManager<FrameworkElement>.GetRemoteView(String)
    LayoutManager<FrameworkElement>.AddRemoteMedia(IViewableMedia<FrameworkElement>)
    LayoutManager<FrameworkElement>.AddRemoteView(String, FrameworkElement)
    LayoutManager<FrameworkElement>.RemoveRemoteMedia(IViewableMedia<FrameworkElement>)
    LayoutManager<FrameworkElement>.RemoveRemoteView(String)
    LayoutManager<FrameworkElement>.SwapRemoteMedia(IViewableMedia<FrameworkElement>, IViewableMedia<FrameworkElement>)
    LayoutManager<FrameworkElement>.SwapRemoteView(String, String, FrameworkElement)
    LayoutManager<FrameworkElement>.GetRemoteViews(String[])
    LayoutManager<FrameworkElement>.AddRemoteViews(String[], FrameworkElement[])
    LayoutManager<FrameworkElement>.RemoveRemoteViews(String[])
    LayoutManager<FrameworkElement>.SwapRemoteViews(String[], String[], FrameworkElement[])
    LayoutManager<FrameworkElement>.GetRemoteViewIds()
    LayoutManager<FrameworkElement>.GetRemoteViews()
    LayoutManager<FrameworkElement>.RemoveRemoteViews()
    LayoutManager<FrameworkElement>.Reset()
    LayoutManager<FrameworkElement>.LayoutOnMainThread()
    LayoutPreset.Direction
    LayoutPreset.Alignment
    LayoutPreset.FloatWidthPercent
    LayoutPreset.FloatHeightPercent
    LayoutPreset.FloatMarginXPercent
    LayoutPreset.FloatMarginYPercent
    LayoutPreset.FloatWidth
    LayoutPreset.FloatHeight
    LayoutPreset.FloatMarginX
    LayoutPreset.FloatMarginY
    LayoutPreset.BlockWidthPercent
    LayoutPreset.BlockHeightPercent
    LayoutPreset.BlockMarginXPercent
    LayoutPreset.BlockMarginYPercent
    LayoutPreset.BlockWidth
    LayoutPreset.BlockHeight
    LayoutPreset.BlockMarginX
    LayoutPreset.BlockMarginY
    LayoutPreset.InlineMargin
    LayoutPreset.CopyToPreset(LayoutPreset)
    LayoutPreset.ApplyPreset(LayoutPreset)
    LayoutPreset.Skype
    LayoutPreset.GoogleHangouts
    LayoutPreset.Facetime
    LayoutPreset.CalculateLayout(Int32, Int32, Int32, LayoutOrigin)
    LayoutPreset.CalculateLayout(Int32, Int32, Boolean, Int32, LayoutOrigin, Size, Size[])
    Dynamic.DynamicProperties
    Dynamic.GetDynamicValue(String)
    Dynamic.SetDynamicValue(String, Object)
    Dynamic.UnsetDynamicValue(String)
    Serializable.IsDirty
    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()
    Namespace: FM.LiveSwitch.Wpf
    Assembly: FM.LiveSwitch.Wpf.dll
    Syntax
    public class LayoutManager : LayoutManager<FrameworkElement>

    Constructors

    LayoutManager(Canvas)

    Initializes a new instance of the LayoutManager class.

    Declaration
    public LayoutManager(Canvas container)
    Parameters
    Type Name Description
    System.Windows.Controls.Canvas container

    The layout container.

    LayoutManager(Canvas, LayoutPreset)

    Initializes a new instance of the LayoutManager class.

    Declaration
    public LayoutManager(Canvas container, LayoutPreset preset)
    Parameters
    Type Name Description
    System.Windows.Controls.Canvas container

    The layout container.

    LayoutPreset preset

    The layout preset.

    Properties

    Container

    Gets the layout container.

    Declaration
    public Canvas Container { get; }
    Property Value
    Type Description
    System.Windows.Controls.Canvas

    Mode

    Gets or sets the mode used by the layout engine. Defaults to FloatLocal.

    Declaration
    public override LayoutMode Mode { get; set; }
    Property Value
    Type Description
    LayoutMode
    Overrides
    LayoutPreset.Mode

    Methods

    AddView(FrameworkElement)

    Adds a view to the container.

    Declaration
    protected override void AddView(FrameworkElement view)
    Parameters
    Type Name Description
    System.Windows.FrameworkElement view

    The view to add.

    Overrides
    FM.LiveSwitch.LayoutManager<System.Windows.FrameworkElement>.AddView(System.Windows.FrameworkElement)

    DispatchToMainThread(Action2<Object, Object>, Object, Object)

    Dispatches an action to the main thread.

    Declaration
    protected override void DispatchToMainThread(Action2<object, object> action, object arg1, object arg2)
    Parameters
    Type Name Description
    Action2<System.Object, System.Object> action

    The action to invoke.

    System.Object arg1

    The first argument.

    System.Object arg2

    The second argument.

    Overrides
    FM.LiveSwitch.LayoutManager<System.Windows.FrameworkElement>.DispatchToMainThread(FM.LiveSwitch.Action2<System.Object, System.Object>, System.Object, System.Object)

    Layout()

    Positions the local and remote views within the layout.

    Declaration
    public override void Layout()
    Overrides
    FM.LiveSwitch.LayoutManager<System.Windows.FrameworkElement>.Layout()

    RemoveView(FrameworkElement)

    Removes a view from the container.

    Declaration
    protected override void RemoveView(FrameworkElement view)
    Parameters
    Type Name Description
    System.Windows.FrameworkElement view

    The view to remove.

    Overrides
    FM.LiveSwitch.LayoutManager<System.Windows.FrameworkElement>.RemoveView(System.Windows.FrameworkElement)
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0