//private void GnosisSearchFrame_PropertyChanged(object sender, PropertyChangedEventArgs e) //{ // switch(e.PropertyName) // { // case "Caption": // break; // case "GnosisIcon": // break; // case "Hidden": // this.SetVisibleExt(!hidden); // break; // case "Tooltip": // this.ToolTip = tooltip; // break; // } //} public void GnosisAddChild(IGnosisMouseVisibleControlImplementation child) { if (child is IGnosisGridImplementation) { grids.Add((GnosisGrid)child); } else if (child is IGnosisMessageGridImplementation) { messageGrids.Add((GnosisMessageGrid)child); } else if (child is IGnosisPanelImplementation) { panels.Add((GnosisPanel)child); } else if (child is IGnosisTextAreaImplementation) { textAreas.Add((GnosisTextArea)child); } else if (child is IGnosisCalendarImplementation) { calendars.Add((GnosisCalendar)child); } else { GlobalData.Singleton.ErrorHandler.HandleError("AddChild unhandled in Frame - type " + ((UIElement)child).GetType().Name, "GnosisFrame.AddChild"); } }
public void RemoveChild(IGnosisMouseVisibleControlImplementation gnosisControlImplementation) { gridContent.Children.Remove((UIElement)gnosisControlImplementation); }
public void GnosisAddChild(IGnosisMouseVisibleControlImplementation child) { throw new NotImplementedException(); }