ClassGridViewRow
GridViewRow is an user interface (UI) element used as a container for GridViewCells objects.
Definition
Namespace:Telerik.Windows.Controls.GridView
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public class GridViewRow : GridViewRowItem, IRowItem
Inheritance: objectRadRowItemGridViewRowItemGridViewRow
Derived Classes:
Implements:
Inherited Members
Constructors
GridViewRow()
Initializes a new instance of the GridViewRow class.
Declaration
public GridViewRow()
Fields
DetailsProviderProperty
Identifies the DetailsProvider dependency property.
Declaration
public static readonly DependencyProperty DetailsProviderProperty
Field Value
DependencyProperty
DetailsTemplateProperty
Identifies the DetailsTemplate dependency property.
Declaration
public static readonly DependencyProperty DetailsTemplateProperty
Field Value
DependencyProperty
DetailsVisibilityProperty
Identifies the DetailsVisibility dependency property.
Declaration
public static readonly DependencyProperty DetailsVisibilityProperty
Field Value
DependencyProperty
DisplayVisualCuesProperty
Identifies the DisplayVisualCues dependency property.
Declaration
public static readonly DependencyProperty DisplayVisualCuesProperty
Field Value
DependencyProperty
ErrorsProperty
Identifies the Errors dependency property.
Declaration
public static readonly DependencyProperty ErrorsProperty
Field Value
DependencyProperty
IsExpandableProperty
Identifies the IsExpandable dependency property.
Declaration
public static readonly DependencyProperty IsExpandableProperty
Field Value
DependencyProperty
IsExpandedChangedEvent
Identifies the IsExpandedChanged routed event.
Declaration
public static readonly RoutedEvent IsExpandedChangedEvent
Field Value
RoutedEvent
IsExpandedChangingEvent
Identifies the IsExpandedChanging routed event.
Declaration
public static readonly RoutedEvent IsExpandedChangingEvent
Field Value
RoutedEvent
IsExpandedProperty
Identifies the IsExpanded dependency property.
Declaration
public static readonly DependencyProperty IsExpandedProperty
Field Value
DependencyProperty
IsInEditModeProperty
Declaration
public static readonly DependencyProperty IsInEditModeProperty
Field Value
DependencyProperty
IsPinnedProperty
Identifies the IsPinnedProperty dependency property.
Declaration
public static readonly DependencyProperty IsPinnedProperty
Field Value
DependencyProperty
IsValidProperty
Identifies the IsValid dependency property.
Declaration
public static readonly DependencyProperty IsValidProperty
Field Value
DependencyProperty
MouseOverBackgroundProperty
Identifies the MouseOverBackground dependency property.
Declaration
public static readonly DependencyProperty MouseOverBackgroundProperty
Field Value
DependencyProperty
SelectedBackgroundProperty
Identifies the SelectedBackground dependency property.
Declaration
public static readonly DependencyProperty SelectedBackgroundProperty
Field Value
DependencyProperty
Properties
ActionOnLostFocus
Gets or sets the action on lost focus.
Declaration
public override ActionOnLostFocus ActionOnLostFocus { get; }
Property Value
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
DetailsProvider
Gets or sets the DetailsProvider for this row.
Declaration
public IDetailsProvider DetailsProvider { get; }
Property Value
DetailsTemplate
Gets or sets the DataTemplate used to display the details section of a row.
Declaration
public DataTemplate DetailsTemplate { get; set; }
Property Value
DataTemplate
DetailsVisibility
Gets or sets the Visibility for the details of this row.
Declaration
public Visibility? DetailsVisibility { get; set; }
Property Value
Visibility?
DisplayVisualCues
Gets a value indicating whether this instance should display visual cues for selection, validation, etc.
Errors
Gets the errors via IDataErrorInfo and INotifyDataErrorInfo.
Declaration
public IEnumerable Errors { get; }
Property Value
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
true if the row is expandable; otherwise, false.
IsExpanded
Gets or sets a value indicating whether the row is expanded or not (hierarchy).
Declaration
public bool IsExpanded { get; set; }
Property Value
true if the row is expanded; otherwise, false.
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
true if the row is pinned and stays on top or bottom on scrolling; otherwise, false. The registered default is false.
IsValid
Gets a value indicating whether this instance content is valid.
Declaration
public bool IsValid { get; }
Property Value
true if this instance content is valid; otherwise, false.
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
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
Brush
Methods
BeginEdit()
Prepares GridViewRow for edit.
Declaration
public virtual void BeginEdit()
CancelEdit()
Cancels the edit of the row.
Declaration
public virtual void CancelEdit()
CommitEdit()
Commits a currently edited row.
Declaration
public bool CommitEdit()
Returns
true if successful; otherwise false.
CreateIndentItem()
Creates the item that fills in the indentation.
Declaration
public override ContentControl CreateIndentItem()
Returns
ContentControl
Overrides
CreateItem()
Generates cell containers for GridViewRow.
Declaration
protected override GridViewCellBase CreateItem()
Returns
Overrides
GetCellFromPropertyName(string)
Finds first GridViewCell which is related to the specified property.
Declaration
public GridViewCell GetCellFromPropertyName(string propertyName)
Parameters
propertyName
Name of the property.
Returns
IsSelectable()
Determines whether this instance is selectable.
Declaration
protected override bool IsSelectable()
Returns
true if this instance is selectable; otherwise, false.
Overrides
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
Overrides
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
The type-specific 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
e
OnIsAlternatingChanged(bool, bool)
Called when IsAlternating property changes.
OnIsExpandedChanged(bool, bool)
Called when the GridViewRow's IsExpanded property changes.
OnItemChanged(object, object)
Called when the value of the Item property changes.
OnMouseDoubleClick(MouseButtonEventArgs)
Declaration
protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
OnMouseEnter(MouseEventArgs)
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
e
MouseEventArgs
Overrides
OnMouseLeave(MouseEventArgs)
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
e
MouseEventArgs
OnMouseLeftButtonDown(MouseButtonEventArgs)
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
OnMouseLeftButtonUp(MouseButtonEventArgs)
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
SelectionPropertyChanged(object, DependencyPropertyChangedEventArgs)
Called when the selection was changed.
Declaration
protected override void SelectionPropertyChanged(object sender, DependencyPropertyChangedEventArgs rowSelectionArgs)
Parameters
sender
The sender.
rowSelectionArgs
DependencyPropertyChangedEventArgs
The DependencyPropertyChangedEventArgs instance containing the event data.
Overrides
Events
IsExpandedChanged
Occurs when GridViewRow changes its IsExpanded state.
Declaration
public event RoutedEventHandler IsExpandedChanged
Event Value
RoutedEventHandler
IsExpandedChanging
Occurs when GridViewRow is about to change its IsExpanded state.
Declaration
public event EventHandler<CancelRoutedEventArgs> IsExpandedChanging
Event Value
EventHandler<CancelRoutedEventArgs>