menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BorderView - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BorderView

    An element with border that contains a single child element.

    Inheritance
    System.Object
    BorderView
    CellElement
    Implements
    System.IDisposable
    Namespace: Syncfusion.SfDataGrid.XForms
    Assembly: Syncfusion.SfDataGrid.XForms.dll
    Syntax
    public class BorderView : ContentView, IVisibility, IDisposable

    Constructors

    BorderView()

    Initializes a new instance of the BorderView class.

    Declaration
    public BorderView()

    Fields

    BorderColorProperty

    Identifies the BorderColor Xamarin.Forms.BindableProperty.

    Declaration
    public static readonly BindableProperty BorderColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty
    Remarks

    This Xamarin.Forms.BindableProperty is read-only.

    BorderThicknessProperty

    Identifies the BorderThickness Xamarin.Forms.BindableProperty.

    Declaration
    public static readonly BindableProperty BorderThicknessProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty
    Remarks

    This Xamarin.Forms.BindableProperty is read-only.

    VisibilityProperty

    Identifies the Visibility Xamarin.Forms.BindableProperty.

    Declaration
    public static readonly BindableProperty VisibilityProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty
    Remarks

    This Xamarin.Forms.BindableProperty is read-only.

    Properties

    BorderColor

    Gets or sets the border color.

    Declaration
    public Color BorderColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    The border color.

    BorderThickness

    Gets or sets the border thickness.

    Declaration
    public double BorderThickness { get; set; }
    Property Value
    Type Description
    System.Double

    The border thickness.

    Visibility

    Gets or sets a value indicating whether the view can be displayed.

    Declaration
    public bool Visibility { get; set; }
    Property Value
    Type Description
    System.Boolean

    True if the element is visible, otherwise false. The default value is true.

    Methods

    Dispose()

    Releases the resources used by the component.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Releases the unmanaged resources used by the component and optionally releases the managed resources.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    if true - release both managed and unmanaged resources; if false - release only unmanaged resources.

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved