Show / Hide Table of Contents

    Class RelativeLayout

    Forms9Patch RelativeLayout.

    Inheritance
    Object
    BindableObject
    Element
    NavigableElement
    VisualElement
    View
    Layout
    TemplatedView
    ContentView
    ContentView
    Frame
    Forms9Patch.BindableObject<RelativeLayout>
    Forms9Patch.Element<RelativeLayout>
    Forms9Patch.VisualElement<RelativeLayout>
    Forms9Patch.View<RelativeLayout>
    Forms9Patch.BaseLayout<RelativeLayout>
    Forms9Patch.Layout<RelativeLayout>
    RelativeLayout
    Implements
    INotifyPropertyChanged
    IAnimatable
    ITabStopElement
    IGestureController
    IGestureRecognizers
    IDisposable
    IViewController
    IVisualElementController
    IElementController
    ILayout
    ILayoutController
    IViewContainer<View>
    ILayout
    IBackground
    IShape
    IElement
    IElementConfiguration<RelativeLayout>
    Inherited Members
    Frame.OnPropertyChanged(String)
    ContentView.ContentProperty
    ContentView.Content
    ContentView.IgnoreChildrenProperty
    ContentView.IgnoreChildren
    ContentView.BackgroundImageProperty
    ContentView.BackgroundImage
    ContentView.LimitMinSizeToBackgroundImageSizeProperty
    ContentView.LimitMinSizeToBackgroundImageSize
    ContentView.BackgroundColorProperty
    ContentView.BackgroundColor
    ContentView.HasShadowProperty
    ContentView.HasShadow
    ContentView.ShadowInvertedProperty
    ContentView.ShadowInverted
    ContentView.OutlineColorProperty
    ContentView.OutlineColor
    ContentView.BorderColorProperty
    ContentView.BorderColor
    ContentView.OutlineRadiusProperty
    ContentView.OutlineRadius
    ContentView.BorderRadiusProperty
    ContentView.BorderRadius
    ContentView.OutlineWidthProperty
    ContentView.OutlineWidth
    ContentView.BorderWidthProperty
    ContentView.BorderWidth
    ContentView.ElementShapeProperty
    ContentView.ElementShape
    ContentView.InstanceId
    ContentView._f9pId
    ContentView._fallbackBackgroundImage
    ContentView.CurrentBackgroundImage
    ContentView.BaseInternalChildren
    ContentView.Dispose(Boolean)
    ContentView.Dispose()
    ContentView.Description()
    ContentView.ToString()
    ContentView.ShouldInvalidateOnChildAdded(View)
    ContentView.ShouldInvalidateOnChildRemoved(View)
    ContentView.OnChildMeasureInvalidated()
    ContentView.OnSizeRequest(Double, Double)
    ContentView.LayoutChildren(Double, Double, Double, Double)
    ContentView.OnBindingContextChanged()
    TemplatedView.ControlTemplateProperty
    TemplatedView.OnApplyTemplate()
    TemplatedView.OnChildRemoved(Element)
    Xamarin.Forms.TemplatedView.OnChildRemoved(Xamarin.Forms.Element, System.Int32)
    TemplatedView.GetTemplateChild(String)
    TemplatedView.ControlTemplate
    Layout.IsClippedToBoundsProperty
    Layout.CascadeInputTransparentProperty
    Layout.PaddingProperty
    Layout.ForceLayout()
    Layout.LayoutChildIntoBoundingRegion(VisualElement, Rectangle)
    Layout.LowerChild(View)
    Layout.RaiseChild(View)
    Layout.InvalidateLayout()
    Layout.OnChildMeasureInvalidated(Object, EventArgs)
    Layout.OnSizeAllocated(Double, Double)
    Layout.UpdateChildrenLayout()
    Layout.IsClippedToBounds
    Layout.Padding
    Layout.CascadeInputTransparent
    Layout.LayoutChanged
    View.VerticalOptionsProperty
    View.HorizontalOptionsProperty
    View.MarginProperty
    View.GetChildElements(Point)
    View.GestureController
    View.GestureRecognizers
    View.IGestureController.CompositeGestureRecognizers
    View.HorizontalOptions
    View.Margin
    View.VerticalOptions
    VisualElement.NavigationProperty
    VisualElement.StyleProperty
    VisualElement.InputTransparentProperty
    VisualElement.IsEnabledProperty
    VisualElement.XProperty
    VisualElement.YProperty
    VisualElement.AnchorXProperty
    VisualElement.AnchorYProperty
    VisualElement.TranslationXProperty
    VisualElement.TranslationYProperty
    VisualElement.WidthProperty
    VisualElement.HeightProperty
    VisualElement.RotationProperty
    VisualElement.RotationXProperty
    VisualElement.RotationYProperty
    VisualElement.ScaleProperty
    VisualElement.ScaleXProperty
    VisualElement.ScaleYProperty
    VisualElement.ClipProperty
    VisualElement.VisualProperty
    VisualElement.IsVisibleProperty
    VisualElement.OpacityProperty
    VisualElement.BackgroundProperty
    VisualElement.BehaviorsProperty
    VisualElement.TriggersProperty
    VisualElement.WidthRequestProperty
    VisualElement.HeightRequestProperty
    VisualElement.MinimumWidthRequestProperty
    VisualElement.MinimumHeightRequestProperty
    VisualElement.IsFocusedProperty
    VisualElement.FlowDirectionProperty
    VisualElement.TabIndexProperty
    VisualElement.IsTabStopProperty
    VisualElement.OnTabIndexPropertyChanged(Int32, Int32)
    VisualElement.TabIndexDefaultValueCreator()
    VisualElement.OnTabStopPropertyChanged(Boolean, Boolean)
    VisualElement.TabStopDefaultValueCreator()
    VisualElement.BatchBegin()
    VisualElement.BatchCommit()
    VisualElement.Focus()
    VisualElement.Layout(Rectangle)
    VisualElement.Measure(Double, Double, MeasureFlags)
    VisualElement.Unfocus()
    VisualElement.InvalidateMeasure()
    VisualElement.OnChildAdded(Element)
    VisualElement.OnChildrenReordered()
    VisualElement.OnMeasure(Double, Double)
    VisualElement.SizeAllocated(Double, Double)
    VisualElement.IVisualElementController.InvalidateMeasure(InvalidationTrigger)
    VisualElement.ChangeVisualState()
    VisualElement.Visual
    VisualElement.FlowDirection
    VisualElement.IVisualElementController.EffectiveFlowDirection
    VisualElement.AnchorX
    VisualElement.AnchorY
    VisualElement.Background
    VisualElement.Behaviors
    VisualElement.Bounds
    VisualElement.Height
    VisualElement.HeightRequest
    VisualElement.InputTransparent
    VisualElement.IsEnabled
    VisualElement.IsFocused
    VisualElement.IsVisible
    VisualElement.MinimumHeightRequest
    VisualElement.MinimumWidthRequest
    VisualElement.Opacity
    VisualElement.Rotation
    VisualElement.RotationX
    VisualElement.RotationY
    VisualElement.Scale
    VisualElement.ScaleX
    VisualElement.ScaleY
    VisualElement.TabIndex
    VisualElement.IsTabStop
    VisualElement.TranslationX
    VisualElement.TranslationY
    VisualElement.Triggers
    VisualElement.Width
    VisualElement.WidthRequest
    VisualElement.X
    VisualElement.Y
    VisualElement.Clip
    VisualElement.Resources
    VisualElement.ChildrenReordered
    VisualElement.Focused
    VisualElement.MeasureInvalidated
    VisualElement.SizeChanged
    VisualElement.Unfocused
    NavigableElement.OnParentSet()
    NavigableElement.Navigation
    NavigableElement.Style
    NavigableElement.StyleClass
    NavigableElement.class
    Element.MenuProperty
    Element.AutomationIdProperty
    Element.ClassIdProperty
    Element.GetMenu(BindableObject)
    Element.SetMenu(BindableObject, Menu)
    Element.IElementController.SetValueFromRenderer(BindableProperty, Object)
    Element.FindByName(String)
    Element.RemoveDynamicResource(BindableProperty)
    Element.SetDynamicResource(BindableProperty, String)
    Element.AutomationId
    Element.ClassId
    Element.Effects
    Element.Id
    Element.StyleId
    Element.Parent
    Element.ChildAdded
    Element.ChildRemoved
    Element.DescendantAdded
    Element.DescendantRemoved
    BindableObject.BindingContextProperty
    BindableObject.ClearValue(BindableProperty)
    BindableObject.ClearValue(BindablePropertyKey)
    BindableObject.GetValue(BindableProperty)
    BindableObject.IsSet(BindableProperty)
    BindableObject.RemoveBinding(BindableProperty)
    BindableObject.SetBinding(BindableProperty, BindingBase)
    BindableObject.ApplyBindings()
    BindableObject.OnPropertyChanging(String)
    BindableObject.UnapplyBindings()
    BindableObject.SetValue(BindableProperty, Object)
    BindableObject.SetValue(BindablePropertyKey, Object)
    BindableObject.CoerceValue(BindableProperty)
    BindableObject.CoerceValue(BindablePropertyKey)
    BindableObject.Dispatcher
    BindableObject.BindingContext
    BindableObject.PropertyChanged
    BindableObject.PropertyChanging
    BindableObject.BindingContextChanged
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: Forms9Patch
    Assembly: Forms9Patch.dll
    Syntax
    public class RelativeLayout : Layout<RelativeLayout>, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, INavigationProxy, IStyleSelectable, IAnimatable, IResourcesProvider, IStyleElement, IFlowDirectionController, IPropertyPropagationController, IVisualController, ITabStopElement, IStylable, IGestureController, IGestureRecognizers, IPaddingElement, IControlTemplated, IDisposable, IViewController, IVisualElementController, IElementController, ILayout, ILayoutController, IViewContainer<View>, ILayout, IBackground, IShape, IElement, IElementConfiguration<RelativeLayout>

    Constructors

    RelativeLayout()

    Initializes a new instance of the RelativeLayout class.

    Declaration
    public RelativeLayout()

    Properties

    Children

    List of Views that are children of this RelativeLayout.

    Declaration
    public RelativeLayout.IRelativeList<View> Children { get; }
    Property Value
    Type Description
    RelativeLayout.IRelativeList<View>

    The children.

    Methods

    GetBoundsConstraint(BindableObject)

    Gets the bounds constraint of element in RelativeLayout

    Declaration
    public static BoundsConstraint GetBoundsConstraint(BindableObject bindable)
    Parameters
    Type Name Description
    BindableObject bindable

    Bindable.

    Returns
    Type Description
    BoundsConstraint

    The bounds constraint.

    GetHeightConstraint(BindableObject)

    Gets the height constraint of element in RelativeLayout

    Declaration
    public static Constraint GetHeightConstraint(BindableObject bindable)
    Parameters
    Type Name Description
    BindableObject bindable

    Bindable.

    Returns
    Type Description
    Constraint

    The height constraint.

    GetWidthConstraint(BindableObject)

    Gets the width constraint of element in RelativeLayout

    Declaration
    public static Constraint GetWidthConstraint(BindableObject bindable)
    Parameters
    Type Name Description
    BindableObject bindable

    Bindable.

    Returns
    Type Description
    Constraint

    The width constraint.

    GetXConstraint(BindableObject)

    Gets the X constraint of element in RelativeLayout

    Declaration
    public static Constraint GetXConstraint(BindableObject bindable)
    Parameters
    Type Name Description
    BindableObject bindable

    Bindable.

    Returns
    Type Description
    Constraint

    The XC onstraint.

    GetYConstraint(BindableObject)

    Gets the Y constraint of element in RelativeLayout

    Declaration
    public static Constraint GetYConstraint(BindableObject bindable)
    Parameters
    Type Name Description
    BindableObject bindable

    Bindable.

    Returns
    Type Description
    Constraint

    The YC onstraint.

    On<T>()

    Marker interface for returning platform-specific configuration elements.

    Declaration
    public IPlatformElementConfiguration<T, RelativeLayout> On<T>()
        where T : IConfigPlatform
    Returns
    Type Description
    IPlatformElementConfiguration<T, RelativeLayout>
    Type Parameters
    Name Description
    T

    SetBoundsConstraint(BindableObject, BoundsConstraint)

    Sets the bounds constraint of element in RelativeLayout

    Declaration
    public static void SetBoundsConstraint(BindableObject bindable, BoundsConstraint value)
    Parameters
    Type Name Description
    BindableObject bindable

    Bindable.

    BoundsConstraint value

    Value.

    SetHeightConstraint(BindableObject, Constraint)

    Sets the height constraint of element in RelativeLayout

    Declaration
    public static void SetHeightConstraint(BindableObject bindable, Constraint value)
    Parameters
    Type Name Description
    BindableObject bindable

    Bindable.

    Constraint value

    Value.

    SetWidthConstraint(BindableObject, Constraint)

    Sets the width constraint of element in RelativeLayout

    Declaration
    public static void SetWidthConstraint(BindableObject bindable, Constraint value)
    Parameters
    Type Name Description
    BindableObject bindable

    Bindable.

    Constraint value

    Value.

    SetXConstraint(BindableObject, Constraint)

    Sets the X constraint of element in RelativeLayout

    Declaration
    public static void SetXConstraint(BindableObject bindable, Constraint value)
    Parameters
    Type Name Description
    BindableObject bindable

    Bindable.

    Constraint value

    Value.

    SetYConstraint(BindableObject, Constraint)

    Sets the Y constraint of element in RelativeLayout

    Declaration
    public static void SetYConstraint(BindableObject bindable, Constraint value)
    Parameters
    Type Name Description
    BindableObject bindable

    Bindable.

    Constraint value

    Value.

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Xamarin.Forms.IAnimatable
    Xamarin.Forms.ITabStopElement
    Xamarin.Forms.Internals.IGestureController
    Xamarin.Forms.IGestureRecognizers
    System.IDisposable
    Xamarin.Forms.IViewController
    Xamarin.Forms.IVisualElementController
    Xamarin.Forms.IElementController
    Xamarin.Forms.ILayout
    Xamarin.Forms.ILayoutController
    Xamarin.Forms.IViewContainer<T>
    ILayout
    IBackground
    IShape
    IElement
    Xamarin.Forms.IElementConfiguration<TElement>

    Extension Methods

    VisualElementExtensions.IsDescendentOf(Element, Element)
    VisualElementExtensions.IsAncestorOf(Element, Element)
    VisualElementExtensions.BoundsInWindowCoord(VisualElement)
    VisualElementExtensions.BoundsInElementCoord(VisualElement, VisualElement)
    VisualElementExtensions.LocationInWindowCoord(VisualElement)
    VisualElementExtensions.PointInWindowCoord(VisualElement, Point)
    VisualElementExtensions.LocationInElementCoord(VisualElement, VisualElement)
    VisualElementExtensions.PointInElementCoord(VisualElement, Point, VisualElement)
    VisualElementExtensions.HitTest(VisualElement, Point, VisualElement)
    VisualElementExtensions.GestureListener(VisualElement)
    VisualElementExtensions.FindChildrenWithPropertyAndOfType<T>(VisualElement, String, List<T>)
    VisualElementExtensions.FindChildrenWithProperty(VisualElement, String)
    VisualElementExtensions.FindVisualElementsOfType<T>(VisualElement)
    VisualElementExtensions.FindChildWithFocus(Element)
    VisualElementExtensions.FindAncestorOfType(Element, Type)
    VisualElementExtensions.IsInVisibleViewTree(VisualElement)
    ElementExtensions.AncestorOfBaseType<T>(Element)
    ElementExtensions.Ancestor<T>(Element)
    ElementExtensions.IsInNativeLayout(VisualElement)
    ElementExtensions.SetIsInNativeLayout(VisualElement, Boolean)
    ElementExtensions.GetRenderer(VisualElement)
    ElementExtensions.HasRenderer(VisualElement)
    HardwareKeyListenerExtensions.GetHardwareKeyListeners(View)
    HardwareKeyListenerExtensions.ClearHardwareKeyListeners(View)
    HardwareKeyListenerExtensions.AddHardwareKeyListener(View, String, HardwareKeyModifierKeys, String, EventHandler<HardwareKeyEventArgs>)
    HardwareKeyListenerExtensions.AddHardwareKeyListener(View, String, HardwareKeyModifierKeys, EventHandler<HardwareKeyEventArgs>)
    HardwareKeyListenerExtensions.AddHardwareKeyListener(View, String, EventHandler<HardwareKeyEventArgs>)
    HardwareKeyListenerExtensions.AddHardwareKeyListener(View, String)
    HardwareKeyListenerExtensions.AddHardwareKeyListener(View, HardwareKeyListener)
    HardwareKeyListenerExtensions.RemoveHardwareKeyListener(View, String, HardwareKeyModifierKeys)
    HardwareKeyListenerExtensions.RemoveHardwareKeyListener(View, HardwareKeyListener)
    HardwareKeyListenerExtensions.HardwareKeyFocus(View)
    HardwareKeyListenerExtensions.HardwareKeyUnfocus(VisualElement)
    DebugExtensions.AddToCensus(Object)
    DebugExtensions.RemoveFromCensus(Object)
    ReflectionExtensions.GetProperties(Object)
    ReflectionExtensions.GetProperty(Object, String)
    ReflectionExtensions.PropertyNames(Object)
    ReflectionExtensions.PropertyExists(Object, String)
    ReflectionExtensions.HasProperty(Object, String)
    ReflectionExtensions.GetPropertyValue(Object, String)
    ReflectionExtensions.SetPropertyValue(Object, String, Object)
    ReflectionExtensions.GetFieldValue(Object, String)
    ReflectionExtensions.SetFieldValue(Object, String, Object)
    ReflectionExtensions.CallMethod(Object, String, Object[])
    Back to top Copyright © 2018 42nd Parallel