menu

Xamarin.Android

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

    Show / Hide Table of Contents

    Class DefaultStyle

    Gets or sets the Default style for SfDataGrid class.

    Inheritance
    System.Object
    DataGridStyle
    DefaultStyle
    Implements
    System.IDisposable
    Inherited Members
    DataGridStyle.AlternatingRowColor
    DataGridStyle.BorderColor
    DataGridStyle.CaptionRowBackgroundColor
    DataGridStyle.CaptionRowForegroundColor
    DataGridStyle.CellBackground
    DataGridStyle.CellForeground
    DataGridStyle.DefaultRowColor
    DataGridStyle.Dispose()
    DataGridStyle.Dispose(Boolean)
    DataGridStyle.GetAlternatingRowBackgroundColor()
    DataGridStyle.GetBordercolor()
    DataGridStyle.GetCaptionSummaryFontAttribute()
    DataGridStyle.GetCaptionSummaryRowBackgroundColor(Group)
    DataGridStyle.GetCaptionSummaryRowForeGroundColor()
    DataGridStyle.GetCaptionSummaryRowForegroundColor(Group)
    DataGridStyle.GetColumnDragViewBackgroundColor()
    DataGridStyle.GetColumnDragViewBorderColor()
    DataGridStyle.GetColumnDragViewForegroundColor()
    DataGridStyle.GetColumnResizingIndicatorIcon()
    DataGridStyle.GetCurrentCellBorderWidth()
    DataGridStyle.GetGridLinesVisibility()
    DataGridStyle.GetGroupSummaryFontAttribute()
    DataGridStyle.GetGroupSummaryRowBackgroundColor()
    DataGridStyle.GetGroupSummaryRowForegroundColor()
    DataGridStyle.GetHeaderBorderColor()
    DataGridStyle.GetHeaderSortIndicatorDown()
    DataGridStyle.GetHeaderSortIndicatorUp()
    DataGridStyle.GetIndentBackgroundColor(RowType)
    DataGridStyle.GetLoadMoreViewBackgroundColor()
    DataGridStyle.GetLoadMoreViewForegroundColor()
    DataGridStyle.GetSummaryVerticalLineVisibility()
    DataGridStyle.GetTableSummaryFontAttribute()
    DataGridStyle.GetUnboundRowBackgroundColor()
    DataGridStyle.GetUnboundRowFontAttribute()
    DataGridStyle.GetUnboundRowForegroundColor()
    DataGridStyle.HeaderBackground
    DataGridStyle.HeaderForeground
    DataGridStyle.HeaderSortIndicatorDown
    DataGridStyle.HeaderSortIndicatorUp
    DataGridStyle.SelectionBackgroundColor
    DataGridStyle.SelectionForegroundColor
    Namespace: Syncfusion.SfDataGrid
    Assembly: Syncfusion.SfDataGrid.Android.dll
    Syntax
    public class DefaultStyle : DataGridStyle, IDisposable

    Constructors

    DefaultStyle()

    Declaration
    public DefaultStyle()

    Methods

    GetBorderColor()

    Gets the color of the border.

    Declaration
    public override Color GetBorderColor()
    Returns
    Type Description
    Android.Graphics.Color

    The border color.

    Overrides
    DataGridStyle.GetBorderColor()

    GetBorderWidth()

    Gets or sets the border width for the grid cells.

    Declaration
    public override float GetBorderWidth()
    Returns
    Type Description
    System.Single

    The grid header cell border width

    Overrides
    DataGridStyle.GetBorderWidth()

    GetCaptionSummaryRowBackgroundColor()

    Gets the captionsummary row background color.

    Declaration
    public override Color GetCaptionSummaryRowBackgroundColor()
    Returns
    Type Description
    Android.Graphics.Color

    The captionsummary row default background color.

    Overrides
    DataGridStyle.GetCaptionSummaryRowBackgroundColor()

    GetCaptionSummaryRowForegroundColor()

    Gets the captionsummary row foreground color.

    Declaration
    public override Color GetCaptionSummaryRowForegroundColor()
    Returns
    Type Description
    Android.Graphics.Color

    The captionsummary row default foreground color.

    Overrides
    DataGridStyle.GetCaptionSummaryRowForegroundColor()

    GetColumnDragDownIndicator()

    Gets the column drag down indicator.

    Declaration
    public override int GetColumnDragDownIndicator()
    Returns
    Type Description
    System.Int32

    The column drag down indicator.

    Overrides
    DataGridStyle.GetColumnDragDownIndicator()

    GetColumnDragUpIndicator()

    Gets the column drag up indicator.

    Declaration
    public override int GetColumnDragUpIndicator()
    Returns
    Type Description
    System.Int32

    The column drag up indicator.

    Overrides
    DataGridStyle.GetColumnDragUpIndicator()

    GetCurrentCellBorderColor()

    Gets the current cell border color.

    Declaration
    public override Color GetCurrentCellBorderColor()
    Returns
    Type Description
    Android.Graphics.Color

    The current cell border default foreground color.

    Overrides
    DataGridStyle.GetCurrentCellBorderColor()

    GetGroupCollapseIcon()

    Gets the group collapse icon.

    Declaration
    public override int GetGroupCollapseIcon()
    Returns
    Type Description
    System.Int32

    The group collapse icon.

    Overrides
    DataGridStyle.GetGroupCollapseIcon()

    GetGroupExpanderIcon()

    Gets the group expander icon.

    Declaration
    public override int GetGroupExpanderIcon()
    Returns
    Type Description
    System.Int32

    The group expander icon.

    Overrides
    DataGridStyle.GetGroupExpanderIcon()

    GetHeaderBackgroundColor()

    Gets the header's background color.

    Declaration
    public override Color GetHeaderBackgroundColor()
    Returns
    Type Description
    Android.Graphics.Color

    The header's default background color.

    Overrides
    DataGridStyle.GetHeaderBackgroundColor()

    GetHeaderBorderWidth()

    Gets or sets the border width for the header cells.

    Declaration
    public override float GetHeaderBorderWidth()
    Returns
    Type Description
    System.Single

    The grid header cell border width

    Overrides
    DataGridStyle.GetHeaderBorderWidth()

    GetHeaderForegroundColor()

    Gets the header's foreground color.

    Declaration
    public override Color GetHeaderForegroundColor()
    Returns
    Type Description
    Android.Graphics.Color

    The header's default foreground color.

    Overrides
    DataGridStyle.GetHeaderForegroundColor()

    GetRecordBackgroundColor()

    Gets the record background color.

    Declaration
    public override Color GetRecordBackgroundColor()
    Returns
    Type Description
    Android.Graphics.Color

    The record default background color.

    Overrides
    DataGridStyle.GetRecordBackgroundColor()

    GetRecordForegroundColor()

    Gets the record foreground color.

    Declaration
    public override Color GetRecordForegroundColor()
    Returns
    Type Description
    Android.Graphics.Color

    The record's default foreground color.

    Overrides
    DataGridStyle.GetRecordForegroundColor()

    GetResizingIndicatorColor()

    Gets the resizing indicator color.

    Declaration
    public override Color GetResizingIndicatorColor()
    Returns
    Type Description
    Android.Graphics.Color

    The resizing indicator default color.

    Overrides
    DataGridStyle.GetResizingIndicatorColor()

    GetRowDragDownIndicator()

    Gets the row drag down indicator.

    Declaration
    public override int GetRowDragDownIndicator()
    Returns
    Type Description
    System.Int32

    The row drag down indicator.

    Overrides
    DataGridStyle.GetRowDragDownIndicator()

    GetRowDragUpIndicator()

    Gets the row drag up indicator.

    Declaration
    public override int GetRowDragUpIndicator()
    Returns
    Type Description
    System.Int32

    The row drag up indicator.

    Overrides
    DataGridStyle.GetRowDragUpIndicator()

    GetSelectionBackgroundColor()

    Gets the selection background color.

    Declaration
    public override Color GetSelectionBackgroundColor()
    Returns
    Type Description
    Android.Graphics.Color

    The header's default background color.

    Overrides
    DataGridStyle.GetSelectionBackgroundColor()

    GetSelectionForegroundColor()

    Gets the selection foreground color.

    Declaration
    public override Color GetSelectionForegroundColor()
    Returns
    Type Description
    Android.Graphics.Color

    The selection default foreground color.

    Overrides
    DataGridStyle.GetSelectionForegroundColor()

    GetTableSummaryBackgroundColor()

    Gets the tablesummary background color.

    Declaration
    public override Color GetTableSummaryBackgroundColor()
    Returns
    Type Description
    Android.Graphics.Color

    The tablesummary default background color.

    Overrides
    DataGridStyle.GetTableSummaryBackgroundColor()

    GetTableSummaryForegroundColor()

    Gets the tablesummary foreground color.

    Declaration
    public override Color GetTableSummaryForegroundColor()
    Returns
    Type Description
    Android.Graphics.Color

    The tablesummary default foreground color.

    Overrides
    DataGridStyle.GetTableSummaryForegroundColor()

    Implements

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