Smrf.NodeXL.Visualization.Wpf.NodeXLControl.DeselectAll C# (CSharp) Method

DeselectAll() public method

public DeselectAll ( ) : void
return void
    DeselectAll()
    {
        AssertValid();

        const String MethodName = "DeselectAll";

        CheckIfLayingOutGraph(MethodName);

        // Do nothing if nothing is selected.

        if (m_oSelectedVertices.Count == 0 && m_oSelectedEdges.Count == 0)
        {
            return;
        }

        SetAllSelected(false);
    }

Usage Example

Ejemplo n.º 1
0
 btnDeselectAll_Click
 (
     object sender,
     EventArgs e
 )
 {
     m_oNodeXLControl.DeselectAll();
 }
NodeXLControl