/// <summary> /// Cache the associated Form View and add the actions /// </summary> /// <param name="parentSelectionFormView">Containing form</param> /// void IFormViewControl.Initialize(FormView parentSelectionFormView) { selectionFormView = (SelectionFormView)parentSelectionFormView; // Add the actions selectionFormView.SelectionData.ActionsPaneItems.Clear(); selectionFormView.SelectionData.ActionsPaneItems.Add(new Action("Show Selection", "Shows the Names of the selected Items in the FormView's ListView.", -1, "ShowSelection")); }