menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AddNewRowControl - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class AddNewRowControl

    Represents the class that provides the common functionalities for adding the new row in grid.

    Inheritance
    System.Object
    DataGridRowControl
    AddNewRowControl
    Implements
    System.IDisposable
    Inherited Members
    DataGridRowControl.ApplyFixedRowVisualState(Boolean)
    DataGridRowControl.Dispose()
    DataGridRowControl.Dispose(Boolean)
    DataGridRowControl.HighlightSelectionBorderVisibility
    DataGridRowControl.HighlightSelectionBorderVisibilityProperty
    DataGridRowControl.OnCreateAutomationPeer()
    DataGridRowControl.OnPointerEntered(PointerRoutedEventArgs)
    DataGridRowControl.OnPointerExited(PointerRoutedEventArgs)
    DataGridRowControl.OnPointerReleased(PointerRoutedEventArgs)
    DataGridRowControl.RowBorderState
    DataGridRowControl.RowHoverForeground
    DataGridRowControl.RowHoverForegroundProperty
    DataGridRowControl.SelectionBorderVisibility
    DataGridRowControl.SelectionBorderVisibilityProperty
    DataGridRowControl.SelectionForeground
    DataGridRowControl.SelectionForegroundProperty
    DataGridRowControl.SetContent()
    DataGridRowControl.UnwireEvents()
    DataGridRowControl.WireEvents()
    Namespace: Syncfusion.UI.Xaml.DataGrid
    Assembly: Syncfusion.Grid.WinUI.dll
    Syntax
    public class AddNewRowControl : DataGridRowControl, IDisposable

    Constructors

    AddNewRowControl()

    Initializes a new instance of AddNewRowControl class.

    Declaration
    public AddNewRowControl()

    Fields

    AddNewRowTextProperty

    Dependency registration for AddNewRowText property.

    Declaration
    public static readonly DependencyProperty AddNewRowTextProperty
    Field Value
    Type
    Microsoft.UI.Xaml.DependencyProperty

    TextBorderClipProperty

    Dependency registration for TextBorderClip property.

    Declaration
    public static readonly DependencyProperty TextBorderClipProperty
    Field Value
    Type
    Microsoft.UI.Xaml.DependencyProperty

    TextMarginProperty

    Dependency registration for TextMargin property.

    Declaration
    public static readonly DependencyProperty TextMarginProperty
    Field Value
    Type
    Microsoft.UI.Xaml.DependencyProperty

    Properties

    AddNewRowText

    Get or Set the text displayed in AddNewROw watermark.

    Declaration
    public string AddNewRowText { get; set; }
    Property Value
    Type
    System.String

    TextBorderClip

    Gets or sets the RectangleGeometry for the TextBorderClip.

    Declaration
    public RectangleGeometry TextBorderClip { get; set; }
    Property Value
    Type
    Microsoft.UI.Xaml.Media.RectangleGeometry

    TextMargin

    Property which helps to position the AddNewRow text when the row header is displayed.

    Declaration
    public Thickness TextMargin { get; set; }
    Property Value
    Type
    Microsoft.UI.Xaml.Thickness

    Methods

    OnApplyTemplate()

    Invoked to apply template for AddNewRowControl.

    Declaration
    protected override void OnApplyTemplate()
    Overrides
    DataGridRowControl.OnApplyTemplate()

    OnLoaded(Object, RoutedEventArgs)

    Invoked when the AddNewRowControl is loaded.

    Declaration
    protected override void OnLoaded(object sender, RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Object sender
    Microsoft.UI.Xaml.RoutedEventArgs e
    Overrides
    DataGridRowControl.OnLoaded(Object, RoutedEventArgs)

    OnSizeChanged(Object, SizeChangedEventArgs)

    Invoked when the size changed.

    Declaration
    protected override void OnSizeChanged(object sender, SizeChangedEventArgs e)
    Parameters
    Type Name Description
    System.Object sender
    Microsoft.UI.Xaml.SizeChangedEventArgs e
    Overrides
    DataGridRowControl.OnSizeChanged(Object, SizeChangedEventArgs)

    Implements

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