DataNavigator.IsValid Property
This property can be used to query the current row to see if it is valid
Namespace: EWSoftware.ListControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.18.0+3a863295c73252b22e8ab6862ed6bdc57bcbd0fc
public bool IsValid { get; }
Public ReadOnly Property IsValid As Boolean
Get
public:
property bool IsValid {
bool get ();
}
member IsValid : bool with get
Property Value
BooleanReturns true if it is valid or there are no items, false if it is not
private void tree_BeforeSelect(object sender, TreeViewCancelEventArgs e)
{
e.Cancel = !dataNav.IsValid;
}
Private Sub tree_BeforeSelect(sender As Object, e As TreeViewCancelEventArgs) _
Handles tree.BeforeSelect
e.Cancel = Not dataNav.IsValid
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.