CVB.Net 14.1
GenApiGrid Class Reference

Property grid control to show all GenICam GenApi feature Nodes from a NodeMap. More...

Inherits Control.

Public Member Functions

override void OnApplyTemplate ()
 Invoked whenever application code or internal processes call FrameworkElement.ApplyTemplate.
 
Node[] GetVisibleNodes ()
 Gets the currently visible Nodes in the order they are displayed. More...
 

Static Public Attributes

const string PART_NativeGrid = "PART_NativeGrid"
 The name of the DisplayCanvas part.
 
static readonly DependencyProperty IsPollingEnabledProperty
 Backing store for the IsPollingEnabled dependency property.
 
static readonly DependencyProperty MaxVisibilityProperty
 Backing store for the MaxVisibility dependency property.
 
static readonly DependencyProperty NodeMapProperty
 Backing store for the NodeMap dependency property.
 
static readonly DependencyProperty SelectedNodeProperty
 Backing store for the SelectedNode dependency property.
 

Properties

bool IsPollingEnabled [get, set]
 Gets or sets whether automatic polling is enabled.
 
MaxVisibility MaxVisibility [get, set]
 Gets or sets the Controls.MaxVisibility.
 
NodeMap NodeMap [get, set]
 Gets or sets the GenApi.NodeMap to display.
 
Node SelectedNode [get, set]
 Gets or sets the currently selected node. More...
 

Detailed Description

Property grid control to show all GenICam GenApi feature Nodes from a NodeMap.

Windows Presentation Foundation implementation of the CVB GenApiGrid.

To use the display in your projects, follow these steps:

  1. Reference this assembly in your solution
  2. Add the control's namespace to your root element of the markup file:
    xmlns:cvb="http://www.commonvisionblox.com/wpf"
  3. Use the display in the XAML file:
    \<cvb:GenApiGrid /\>
    Property grid control to show all GenICam GenApi feature Nodes from a NodeMap.
    Definition: GenApiGrid.cs:63

Member Function Documentation

◆ GetVisibleNodes()

Node[] GetVisibleNodes ( )

Gets the currently visible Nodes in the order they are displayed.

Returns
Array containing the visible nodes.

Property Documentation

◆ SelectedNode

Node SelectedNode
getset

Gets or sets the currently selected node.

You can only select nodes that are currently visible (see GetVisibleNodes).