Class AddNewRowControl
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class AddNewRowControl : VirtualizingCellsControl, 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 |
---|
System.Windows.DependencyProperty |
TextBorderClipProperty
Dependency registration for TextBorderClip property.
Declaration
public static readonly DependencyProperty TextBorderClipProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TextMarginProperty
Dependency registration for TextMargin property.
Declaration
public static readonly DependencyProperty TextMarginProperty
Field Value
Type |
---|
System.Windows.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 |
---|
System.Windows.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 |
---|
System.Windows.Thickness |
Methods
OnApplyTemplate()
Invoked to apply template for AddNewRowControl.
Declaration
public 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 | |
System.Windows.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 | |
System.Windows.SizeChangedEventArgs | e |
Overrides
Implements
System.IDisposable