src/Misc/EFTools/DesignXmlCore/Base/Shell/HeaderBranch.cs
/// <summary>
///     Retrieve accessibility data for the item at the given row, column
/// </summary>
/// <param name="row">Target row</param>
/// <param name="column">Target column</param>
/// <returns>Populated VirtualTreeAccessibilityData structue, or VirtualTreeAccessibilityData.Empty</returns>
Retrieve accessibility data for the item at the given row, column
Retrieve accessibility data for the item at the given row column
protected virtual VirtualTreeAccessibilityData GetAccessibilityData(int row, int column)
        {
            if (column == 0)
            {
                return new VirtualTreeAccessibilityData(
                    "{1}, {3} {2}", TreeGridDesignerBranch._descriptionAccessibilityReplacementFields,
                    Resources.MappingDetails_Up_And_Down, new AccessibilityReplacementField[0],
                    Resources.MappingDetails_Up_And_Down);
            }
            if (_columns[column].ColumnIsCheckBox
                && GetCheckBoxValue(row, column) != CheckBoxState.Unsupported)
            {
                return new VirtualTreeAccessibilityData(
                    "{0} {5} {3}", TreeGridDesignerBranch._descriptionAccessibilityReplacementFields,
                    Resources.MappingDetails_Up_And_Down, new AccessibilityReplacementField[0],
                    Resources.MappingDetails_Up_And_Down);
            }
            return new VirtualTreeAccessibilityData(
                "{3} {0}", TreeGridDesignerBranch._descriptionAccessibilityReplacementFields,
                Resources.MappingDetails_Up_And_Down, new AccessibilityReplacementField[0],
                Resources.MappingDetails_Up_And_Down);
        }
protected virtual VirtualTreeAccessibilityData GetAccessibilityData ( int row , int column ) { if ( column == 0 ) { return new VirtualTreeAccessibilityData ( " " , TreeGridDesignerBranch . _descriptionAccessibilityReplacementFields , Resources . MappingDetails_Up_And_Down , new AccessibilityReplacementField [ 0 ] , Resources . MappingDetails_Up_And_Down ) ; } if ( _columns [ column ] . ColumnIsCheckBox && GetCheckBoxValue ( row , column ) != CheckBoxState . Unsupported ) { return new VirtualTreeAccessibilityData ( " " , TreeGridDesignerBranch . _descriptionAccessibilityReplacementFields , Resources . MappingDetails_Up_And_Down , new AccessibilityReplacementField [ 0 ] , Resources . MappingDetails_Up_And_Down ) ; } return new VirtualTreeAccessibilityData ( " " , TreeGridDesignerBranch . _descriptionAccessibilityReplacementFields , Resources . MappingDetails_Up_And_Down , new AccessibilityReplacementField [ 0 ] , Resources . MappingDetails_Up_And_Down ) ; }
Retrieve accessibility data for the item at the given row, column
Retrieve accessibility data for the item at the given row column
// initial header column - {display text} {row} {child count} // header check box columns // check box - {column header} {state image text} {row} // other header columns - {row} {column header)
Populated VirtualTreeAccessibilityData structue, or VirtualTreeAccessibilityData.Empty
Populated VirtualTreeAccessibilityData structue or VirtualTreeAccessibilityData . Empty
row
int
None
column
int
None