wpf-devexpress-dot-xpf-dot-propertygrid-dot-propertygridrowbaseeventargs-eca8043a.md
Gets a row’s value.
Namespace : DevExpress.Xpf.PropertyGrid
Assembly : DevExpress.Xpf.PropertyGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PropertyGrid
public object Value { get; }
Public ReadOnly Property Value As Object
| Type | Description |
|---|---|
| Object |
A row’s value.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Value property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-property-grid-specify-custom-collection-edit-actions/CS/MainWindow.xaml.cs#L25
var issueView = propertyGrid.SelectedObject as IssueView;
var issue = e.Value as Issue;
if (issue != null && issueView != null && !string.Equals(issue.Owner, issueView.UserName))
wpf-property-grid-specify-custom-collection-edit-actions/VB/MainWindow.xaml.vb#L19
Dim issueView = TryCast(Me.propertyGrid.SelectedObject, IssueView)
Dim issue = TryCast(e.Value, Issue)
If issue IsNot Nothing AndAlso issueView IsNot Nothing AndAlso Not String.Equals(issue.Owner, issueView.UserName) Then e.IsVisible = False
See Also
PropertyGridRowBaseEventArgs Class