Class AddNewRowControl
Represents the class that provides the common functionalities for adding the new row in grid.
Implements
System.IDisposable
Inherited Members
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
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
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
Implements
System.IDisposable