internal void RemoveDisplayEditorMatchingCondition( CellEditorDisplayConditions condition ) { CellEditorDisplayConditions previousValue = ( CellEditorDisplayConditions )this.GetValue( Row.RowDisplayEditorMatchingConditionsProperty ); previousValue = previousValue & ~condition; this.SetValue( Row.RowDisplayEditorMatchingConditionsProperty, previousValue ); }
internal void SetDisplayEditorMatchingCondition( CellEditorDisplayConditions condition ) { CellEditorDisplayConditions previousValue = ( CellEditorDisplayConditions )this.GetValue( Cell.CellDisplayEditorMatchingConditionsProperty ); previousValue = previousValue | condition; this.SetValue( Cell.CellDisplayEditorMatchingConditionsProperty, previousValue ); }
internal static bool IsCellEditorDisplayConditionsSet( Row row, CellEditorDisplayConditions condition ) { return ( ( row.CellEditorDisplayConditions & condition ) == condition ); }
internal static bool IsCellEditorDisplayConditionsSet( Cell cell, CellEditorDisplayConditions condition ) { if( ( cell.CellEditorDisplayConditions & condition ) == condition ) return true; return false; }