123456789101112131415161718192021222324252627 |
- using DevExpress.XtraEditors;
- using DevExpress.XtraLayout;
- using System;
- using System.Collections.Generic;
- using System.Drawing;
- using System.IO;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ExtensionsDev
- {
- public static class LayoutControlExtension
- {
- public static void UseDefault(this LayoutControl ctrl)
- {
- ctrl.AllowTouchGestures = DevExpress.Utils.DefaultBoolean.False;
- ctrl.AllowDrop = false;
- ctrl.AllowCustomization= false;
- ctrl.OptionsFocus.AllowFocusGroups = false;
- ctrl.OptionsFocus.AllowFocusTabbedGroups = false;
- ctrl.OptionsFocus.AllowFocusControlOnLabelClick = true;
- ctrl.Root.GroupBordersVisible= false;
- }
-
- }
- }
|