예제 #1
0
파일: Row.cs 프로젝트: Torion/WpfExToolkit
    internal void RemoveDisplayEditorMatchingCondition( CellEditorDisplayConditions condition )
    {
      CellEditorDisplayConditions previousValue = ( CellEditorDisplayConditions )this.GetValue( Row.RowDisplayEditorMatchingConditionsProperty );

      previousValue = previousValue & ~condition;

      this.SetValue( Row.RowDisplayEditorMatchingConditionsProperty, previousValue );
    }
예제 #2
0
파일: Cell.cs 프로젝트: Torion/WpfExToolkit
    internal void SetDisplayEditorMatchingCondition( CellEditorDisplayConditions condition )
    {
      CellEditorDisplayConditions previousValue = ( CellEditorDisplayConditions )this.GetValue( Cell.CellDisplayEditorMatchingConditionsProperty );

      previousValue = previousValue | condition;

      this.SetValue( Cell.CellDisplayEditorMatchingConditionsProperty, previousValue );
    }
예제 #3
0
파일: Row.cs 프로젝트: Torion/WpfExToolkit
 internal static bool IsCellEditorDisplayConditionsSet( Row row, CellEditorDisplayConditions condition )
 {
   return ( ( row.CellEditorDisplayConditions & condition ) == condition );
 }
예제 #4
0
파일: Cell.cs 프로젝트: Torion/WpfExToolkit
    internal static bool IsCellEditorDisplayConditionsSet( Cell cell, CellEditorDisplayConditions condition )
    {
      if( ( cell.CellEditorDisplayConditions & condition ) == condition )
        return true;

      return false;
    }