Exemplo n.º 1
0
 public Main()
 {
     InitializeComponent();
     recordBindingSource.DataSource = DataHelper.GetData(10);
     provider = new FilterNameProvider(gridView1)
     {
         AllowSettingFilterNames = true
     };
 }
Exemplo n.º 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");
        }