Mini Kabibi Habibi
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using DevExpress.Xpf.Editors;
using DevExpress.Xpf.Grid;
using DevExpress.Xpf.Utils;
using DevExpress.Data.Filtering;
using System.Collections.ObjectModel;
using DevExpress.Xpf.Core.WPFCompatibility;
namespace GridDemo {
public class GridSummaryList : List<GridSummaryItem> { }
public class NameTextControl : Control {
public static readonly DependencyProperty NameValueProperty =
DependencyProperty.Register("NameValue", typeof(string), typeof(NameTextControl), new PropertyMetadata(null));
public static readonly DependencyProperty TextValueProperty =
DependencyProperty.Register("TextValue", typeof(string), typeof(NameTextControl), new PropertyMetadata(null));
public string NameValue {
get { return (string)GetValue(NameValueProperty); }
set { SetValue(NameValueProperty, value); }
}
public string TextValue {
get { return (string)GetValue(TextValueProperty); }
set { SetValue(TextValueProperty, value); }
}
public NameTextControl() {
this.SetDefaultStyleKey(typeof(NameTextControl));
}
}
public class HintControl : ContentControl {
public HintControl() {
this.SetDefaultStyleKey(typeof(HintControl));
}
}
}