menu

Xamarin.Android

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

    Show / Hide Table of Contents

    Class CalendarHeader

    Calendar header.

    Inheritance
    System.Object
    CalendarHeader
    Namespace: Com.Syncfusion.Calendar
    Assembly: Syncfusion.SfCalendar.Android.dll
    Syntax
    public class CalendarHeader : FrameLayout

    Constructors

    CalendarHeader(Context, SfCalendar, View)

    Initializes a new instance of the CalendarHeader class.

    Declaration
    public CalendarHeader(Context context, SfCalendar sfCalendar, View view)
    Parameters
    Type Name Description
    Android.Content.Context context

    The Context.

    SfCalendar sfCalendar

    The SfCalendar value.

    Android.Views.View view

    Header view

    Properties

    View

    Gets or sets the view.

    Declaration
    public View View { get; set; }
    Property Value
    Type Description
    Android.Views.View

    The view.

    Methods

    Dispose(Boolean)

    Dispose the specified disposing.

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

    If set to true disposing.

    OnLayout(Boolean, Int32, Int32, Int32, Int32)

    Called when this view should assign a size and position to all of its children.

    Declaration
    protected override void OnLayout(bool changed, int left, int top, int right, int bottom)
    Parameters
    Type Name Description
    System.Boolean changed

    If set to true changed.

    System.Int32 left

    Left value of the layout

    System.Int32 top

    Top value of the layout

    System.Int32 right

    Right value of the layout

    System.Int32 bottom

    Bottom value of the layout

    OnMeasure(Int32, Int32)

    Measure the width and height of the sub views.

    Declaration
    protected override void OnMeasure(int widthMeasureSpec, int heightMeasureSpec)
    Parameters
    Type Name Description
    System.Int32 widthMeasureSpec

    Width measure spec.

    System.Int32 heightMeasureSpec

    Height measure spec.

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