Exemple #1
0
    public bool GroupEnabled(DXP.TDocumentsBarGrouping Grouping)
    {
        IClient client = DXP.GlobalVars.Client;

        DXP.IClientAPI_Interface ClientAPI = client.GetClientAPI();

        return(ClientAPI.GetGroupingInDocumentsBar() == Grouping ? true : false);
    }
Exemple #2
0
    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));
    }
Exemple #3
0
    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());
    }