private void DefineRootView(ViewBase view) { // Remove any existing view Clear(); // Use the provided view Add(view); // Provide back reference to the button definition _ribbonButton.ButtonView = view; }