Class GridViewRow
GridViewRow is an user interface (UI) element used as a container for GridViewCells objects.
Inherited Members
Namespace: Telerik.Windows.Controls.GridView
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public class GridViewRow : GridViewRowItem, IRowItem, IHorizontallyScrollable, ILayoutObserver, IScrollContentElement, IVirtualizedContainer
Constructors
GridViewRow()
Fields
DetailsProviderProperty
Identifies the DetailsProvider dependency property.
Declaration
public static readonly DependencyProperty DetailsProviderProperty
Field Value
System.Windows.DependencyProperty
|
DetailsTemplateProperty
Identifies the DetailsTemplate dependency property.
Declaration
public static readonly DependencyProperty DetailsTemplateProperty
Field Value
System.Windows.DependencyProperty
|
DetailsVisibilityProperty
Identifies the DetailsVisibility dependency property.
Declaration
public static readonly DependencyProperty DetailsVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
DisplayVisualCuesProperty
Identifies the DisplayVisualCues dependency property.
Declaration
public static readonly DependencyProperty DisplayVisualCuesProperty
Field Value
System.Windows.DependencyProperty
|
ErrorsProperty
Identifies the Errors dependency property.
Declaration
public static readonly DependencyProperty ErrorsProperty
Field Value
System.Windows.DependencyProperty
|
IsExpandableProperty
Identifies the IsExpandable dependency property.
Declaration
public static readonly DependencyProperty IsExpandableProperty
Field Value
System.Windows.DependencyProperty
|
IsExpandedChangedEvent
Identifies the IsExpandedChanged routed event.
Declaration
public static readonly RoutedEvent IsExpandedChangedEvent
Field Value
System.Windows.RoutedEvent
|
IsExpandedChangingEvent
Identifies the IsExpandedChanging routed event.
Declaration
public static readonly RoutedEvent IsExpandedChangingEvent
Field Value
System.Windows.RoutedEvent
|
IsExpandedProperty
Identifies the IsExpanded dependency property.
Declaration
public static readonly DependencyProperty IsExpandedProperty
Field Value
System.Windows.DependencyProperty
|
IsInEditModeProperty
Declaration
public static readonly DependencyProperty IsInEditModeProperty
Field Value
System.Windows.DependencyProperty
|
IsPinnedProperty
Identifies the IsPinnedProperty dependency property.
Declaration
public static readonly DependencyProperty IsPinnedProperty
Field Value
System.Windows.DependencyProperty
|
IsValidProperty
Identifies the IsValid dependency property.
Declaration
public static readonly DependencyProperty IsValidProperty
Field Value
System.Windows.DependencyProperty
|
MouseOverBackgroundProperty
Identifies the MouseOverBackground dependency property.
Declaration
public static readonly DependencyProperty MouseOverBackgroundProperty
Field Value
System.Windows.DependencyProperty
|
SelectedBackgroundProperty
Identifies the SelectedBackground dependency property.
Declaration
public static readonly DependencyProperty SelectedBackgroundProperty
Field Value
System.Windows.DependencyProperty
|
Properties
ActionOnLostFocus
Gets or sets the action on lost focus.
Declaration
public override ActionOnLostFocus ActionOnLostFocus { get; }
Property Value
ActionOnLostFocus
The action on lost focus. |
Overrides
ChildDataControls
Gets the child GridViewDataControl instances that wrap child hierarchy tables.
Declaration
public IList<GridViewDataControl> ChildDataControls { get; }
Property Value
System.Collections.Generic.IList<GridViewDataControl>
|
DetailsProvider
Gets or sets the DetailsProvider for this row.
Declaration
public IDetailsProvider DetailsProvider { get; }
Property Value
IDetailsProvider
|
DetailsTemplate
Gets or sets the DataTemplate used to display the details section of a row.
Declaration
public DataTemplate DetailsTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
DetailsVisibility
Gets or sets the Visibility for the details of this row.
Declaration
public Visibility? DetailsVisibility { get; set; }
Property Value
System.Nullable<System.Windows.Visibility>
|
DisplayVisualCues
Gets a value indicating whether this instance should display visual cues for selection, validation, etc.
Declaration
public bool DisplayVisualCues { get; }
Property Value
System.Boolean
|
Errors
Gets the errors via IDataErrorInfo and INotifyDataErrorInfo.
Declaration
public IEnumerable Errors { get; }
Property Value
System.Collections.IEnumerable
The errors. |
IsExpandable
Gets or sets a value indicating whether the row is expandable or not (hierarchy).
Declaration
public bool IsExpandable { get; set; }
Property Value
System.Boolean
|
IsExpanded
Gets or sets a value indicating whether the row is expanded or not (hierarchy).
Declaration
public bool IsExpanded { get; set; }
Property Value
System.Boolean
|
IsInEditMode
Declaration
public bool IsInEditMode { get; set; }
Property Value
System.Boolean
|
IsPinned
Gets or sets a value that indicates whether the row is pinned or not. If true, the row will stay at the top or bottom while scrolling.
Declaration
public bool IsPinned { get; set; }
Property Value
System.Boolean
|
IsValid
Gets a value indicating whether this instance content is valid.
Declaration
public bool IsValid { get; }
Property Value
System.Boolean
|
MouseOverBackground
Gets or sets the Brush that is used to paint the background of the row when it is in MouseOver state.
Declaration
public Brush MouseOverBackground { get; set; }
Property Value
System.Windows.Media.Brush
|
SelectedBackground
Gets or sets the Brush that is used to paint the background of the row when it is selected.
Declaration
public Brush SelectedBackground { get; set; }
Property Value
System.Windows.Media.Brush
|
Methods
BeginEdit()
CancelEdit()
Cancels the edit of the row.
Declaration
public virtual void CancelEdit()
CommitEdit()
Commits a currently edited row.
Declaration
public bool CommitEdit()
Returns
System.Boolean
true if successful; otherwise false. |
CreateIndentItem()
Creates the item that fills in the indentation.
Declaration
public override ContentControl CreateIndentItem()
Returns
System.Windows.Controls.ContentControl
|
Overrides
CreateItem()
Generates cell containers for GridViewRow.
Declaration
protected override GridViewCellBase CreateItem()
Returns
GridViewCellBase
|
Overrides
GetCellFromPropertyName(String)
Finds first GridViewCell which is related to the specified property.
Declaration
public GridViewCell GetCellFromPropertyName(string propertyName)
Parameters
System.String
propertyName
Name of the property. |
Returns
GridViewCell
|
IsSelectable()
Determines whether this instance is selectable.
Declaration
protected override bool IsSelectable()
Returns
System.Boolean
|
Overrides
OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
The type-specific System.Windows.Automation.Peers.AutomationPeer implementation. |
OnHasHierarchyChanged()
Called when HasHierarchy property has changed.
Declaration
protected override void OnHasHierarchyChanged()
Overrides
OnInitialized(EventArgs)
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
|
OnIsAlternatingChanged(Boolean, Boolean)
Called when IsAlternating property changes.
Declaration
protected override void OnIsAlternatingChanged(bool oldValue, bool newValue)
Parameters
System.Boolean
oldValue
New value. |
System.Boolean
newValue
Old value. |
Overrides
OnIsExpandedChanged(Boolean, Boolean)
Called when the GridViewRow's IsExpanded property changes.
Declaration
protected virtual void OnIsExpandedChanged(bool oldValue, bool newValue)
Parameters
System.Boolean
oldValue
The old value of the IsExpanded property. |
System.Boolean
newValue
The new value of the IsExpanded property. |
OnItemChanged(Object, Object)
Called when the value of the Item property changes.
Declaration
protected override void OnItemChanged(object oldItem, object newItem)
Parameters
System.Object
oldItem
The old value of Item. |
System.Object
newItem
The new value of Item. |
Overrides
OnMouseDoubleClick(MouseButtonEventArgs)
Declaration
protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
|
OnMouseEnter(MouseEventArgs)
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
|
Overrides
OnMouseLeave(MouseEventArgs)
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
|
OnMouseLeftButtonDown(MouseButtonEventArgs)
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
|
OnMouseLeftButtonUp(MouseButtonEventArgs)
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
|
SelectionPropertyChanged(Object, DependencyPropertyChangedEventArgs)
Called when the selection was changed.
Declaration
protected override void SelectionPropertyChanged(object sender, DependencyPropertyChangedEventArgs rowSelectionArgs)
Parameters
System.Object
sender
The sender. |
System.Windows.DependencyPropertyChangedEventArgs
rowSelectionArgs
The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
Overrides
ToString()
Declaration
public override string ToString()
Returns
System.String
|
Events
IsExpandedChanged
Occurs when GridViewRow changes its IsExpanded state.
Declaration
public event RoutedEventHandler IsExpandedChanged
Event Type
System.Windows.RoutedEventHandler
|
IsExpandedChanging
Occurs when GridViewRow is about to change its IsExpanded state.
Declaration
public event EventHandler<CancelRoutedEventArgs> IsExpandedChanging
Event Type
System.EventHandler<CancelRoutedEventArgs>
|