public bool GroupEnabled(DXP.TDocumentsBarGrouping Grouping) { IClient client = DXP.GlobalVars.Client; DXP.IClientAPI_Interface ClientAPI = client.GetClientAPI(); return(ClientAPI.GetGroupingInDocumentsBar() == Grouping ? true : false); }
public void ChangeDocGrouping(DXP.TDocumentsBarGrouping Grouping) { IClient client = DXP.GlobalVars.Client; DXP.IClientAPI_Interface ClientAPI = client.GetClientAPI(); ClientAPI.SetGroupingInDocumentsBar(Grouping); client.BroadcastNotification(new DXP.SystemNotification(DXP.NotificationCode.SystemNotificationCode.SystemPreferencesChanged)); }
public void DocGrouping() { //DXP.IClientAPI_InterfaceHelper.GetGroupingInDocumentsBar(this DXP.IClientAPI_Interface) //DXP.IClientAPI_InterfaceHelper.SetGroupingInDocumentsBar(this DXP.IClientAPI_Interface, DXP.TDocumentsBarGrouping) //DXP.IClientAPI_Interface.Internal_GetGroupingInDocumentsBar() IClient client = DXP.GlobalVars.Client; DXP.IClientAPI_Interface ClientAPI = client.GetClientAPI(); MessageBox.Show(ClientAPI.GetGroupingInDocumentsBar().ToString()); }