Exemple #1
0
 public Main()
 {
     InitializeComponent();
     recordBindingSource.DataSource = DataHelper.GetData(10);
     provider = new FilterNameProvider(gridView1)
     {
         AllowSettingFilterNames = true
     };
 }
Exemple #2
0
        public static void RestoreLayoutFromXmlEx(this ColumnView view, FilterNameProvider provider, string filePath)
        {
            XmlXtraSerializer serializer = new XmlXtraSerializer();

            serializer.DeserializeObjects(new XtraObjectInfo[] { new XtraObjectInfo("View", view), new XtraObjectInfo("Filters", provider) }, filePath, "DXSample");
        }