private static void UpdateRestrictedPanes(RadOutlookBar outLookBar, bool value)
        {
            var paneGroup = outLookBar.ParentOfType <RadPaneGroup>();

            if (paneGroup != null)
            {
                foreach (var pane in paneGroup.EnumeratePanes())
                {
                    if (ConditionalDockingHelper.GetPaneType(pane) == Enums.PaneType.Restricted)
                    {
                        pane.CanUserPin = value;
                        pane.CanFloat   = value;
                    }
                }
            }
        }
Beispiel #2
0
 private Enums.PaneType GetPaneType(RadPane pane)
 {
     return(ConditionalDockingHelper.GetPaneType(pane));
 }