Xamarin.iOS

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MonthViewSettings

    Show / Hide Table of Contents

    Class MonthViewSettings

    Represents a class to configure the default settings in month view of schedule, month view is to display the current month dates. Through these settings interactions, label formatting and appearance and week number can be customized.

    Inheritance
    System.Object
    MonthViewSettings
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    Namespace: Syncfusion.SfSchedule.iOS
    Assembly: Syncfusion.SfSchedule.iOS.dll
    Syntax
    public class MonthViewSettings : Object, INotifyPropertyChanged, IDisposable
    Remarks

    Schedule month cell UI can be customized using Com.Syncfusion.Schedule.MonthCellLoaded event of schedule.

    Constructors

    MonthViewSettings()

    Initializes a new instance of the MonthViewSettings class.

    Declaration
    public MonthViewSettings()

    Properties

    AgendaViewHeight

    Gets or sets the AgendaView height

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

    The height of the agenda view.

    AgendaViewStyle

    Gets or sets the agenda view style.

    Declaration
    public AgendaViewStyle AgendaViewStyle { get; set; }
    Property Value
    Type Description
    AgendaViewStyle

    The agenda view style.

    AppointmentDisplayMode

    Gets or sets the appointment display mode and it defines the display mode of appointment in month view.

    Declaration
    public AppointmentDisplayMode AppointmentDisplayMode { get; set; }
    Property Value
    Type Description
    AppointmentDisplayMode

    The appointment display mode.

    AppointmentIndicatorCount

    Gets or sets the number of appointment indicators can be displayed on month cell which indicates appointment availability for the date.

    Declaration
    public int AppointmentIndicatorCount { get; set; }
    Property Value
    Type Description
    System.Int32

    The number of maximum indicators can be displayed. The default value is 3

    BlackoutDates

    Gets or sets the blackout dates, using this interaction can disable for certain date in month view, By using this collection of dates can be blocked in month view of Schedule.

    Declaration
    public NSMutableArray BlackoutDates { get; set; }
    Property Value
    Type Description
    Foundation.NSMutableArray

    The blackout dates.

    Remarks

    Which has only applicable of month view of Schedule.

    LabelSettings

    Gets or sets the month view label settings, using this Format of the Month date (01, 02..), view header day labels string (Sunday, Monday..) which has immediately placed after month header and date label size in the Month view of Schedule can be customized.

    Declaration
    public MonthLabelSettings LabelSettings { get; set; }
    Property Value
    Type Description
    MonthLabelSettings

    The label settings.

    MonthNavigationDirection

    Gets or sets the month navigation direction used to change the swiping direction of the month view.

    Declaration
    public SFMonthNavigationDirections MonthNavigationDirection { get; set; }
    Property Value
    Type Description
    SFMonthNavigationDirections

    The month navigation direction.

    Remarks

    As default navigation direction of month view of Schedule is horizontal.

    SelectionIndicatorColor

    Gets or sets the selection indicator color it represents the circle color which appears while selecting month cell

    Declaration
    public UIColor SelectionIndicatorColor { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

    The color of the selection circle.

    SelectionTextColor

    Gets or sets the color of the selection text.

    Declaration
    public UIColor SelectionTextColor { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

    The color of the selection text.

    ShowAgendaView

    Gets or sets a value indicating whether this Com.Syncfusion.Schedule.MonthViewSettings show agenda view.

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

    true if show agenda view; otherwise, false.

    ShowAppointmentsInline

    Gets or sets a value indicating whether inline view should be displayed in the month view or not while tapping the month cell.

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

    true if show appointments inline; otherwise, false.

    Remarks

    As default, inline view is false in the month view of Schedule.

    ShowWeekNumber

    Gets or sets a value indicating whether week number should be displayed in the month view or not.

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

    true if show week number; otherwise, false.

    Remarks

    As default show week number is false in month view of Schedule.

    TodayBackgroundColor

    Gets or sets the color of today's circle background.

    Declaration
    public UIColor TodayBackgroundColor { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

    The color of the today's circle background.

    WeekNumberStyle

    Gets or sets the week number style, which represents a class to customize the week numbers of the year which are displayed at the left side in month view, appearance of those week numbers such as color and style of the text, background color for the label, etc., can be customized with properties available in this class.

    Declaration
    public SFWeekNumberStyle WeekNumberStyle { get; set; }
    Property Value
    Type Description
    SFWeekNumberStyle

    The week number style.

    Methods

    Dispose()

    To release managed and unmanaged resources

    Declaration
    public void Dispose()

    Dispose(Boolean)

    To release managed and unmanaged resources

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

    Indicates whether dispose or not

    OnPropertyChanged(String)

    Once the property changed.

    Declaration
    protected virtual void OnPropertyChanged(string propertyName)
    Parameters
    Type Name Description
    System.String propertyName

    Property name

    Events

    PropertyChanged

    Occurs when the month view settings properties changed in month view of Schedule.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

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