public override void Drop(UIElement source, Point pt) { TableView view = GetDataView(source) as TableView; GridColumn column = (source as GridColumnHeader).DataContext as GridColumn; bool flag = Convert.ToBoolean(column.GetValue(AbsoluteVisible.IsEnableProperty)); if (flag) { DragDropScroller.StopScrolling(GetDataView(source)); return; } base.Drop(source, pt); }
public static bool GetIsRenameEditorActivated(GridColumn element) { return((bool)element.GetValue(IsRenameEditorActivatedProperty)); }
public static bool GetCommitOnValueChanged(GridColumn element) { return((bool)element.GetValue(CommitOnValueChangedProperty)); }
public static ValidationRulesCollection GetValidationRules(GridColumn obj) { return((ValidationRulesCollection)obj.GetValue(ValidationRulesProperty)); }
public static string GetName(GridColumn target) { return (string)target.GetValue(NameProperty); }
public static string GetPath(GridColumn obj) { return((string)obj.GetValue(PathProperty)); }
public static string GetComplexFieldName(GridColumn obj) { return((string)obj.GetValue(ComplexFieldNameProperty)); }
static ComplextPath GetComplexPath(GridColumn obj) { return((ComplextPath)obj.GetValue(ComplexPathProperty)); }
public static T GetFocusedRowValue <T>(this GridColumn column) { int rowHandle = column.View.FocusedRowHandle; return(column.GetValue <T>(rowHandle)); }
public static int GetSortIndex(GridColumn obj) { return((int)obj.GetValue(SortIndexProperty)); }