src/Misc/EFTools/DesignXmlCore/VirtualTreeGrid/UI/IndentBitmap.cs
/// <summary>
///     Set the graphics paths used to draw the bitmap images. All paths should be centered
///     at (0, 0), not anchored there.
/// </summary>
/// <param name="plusPath">The path used to draw the plus sign</param>
/// <param name="minusPath">The path used to draw the minus sign</param>
/// <param name="boxPath">The path used to draw the box around the plus/minus sign</param>
/// <param name="disposePaths">
///     Should the paths be disposed in the Dispose method? Set to true
///     if the path was created or cloned for this structure, false if the paths are cached.
/// </param>
Set the graphics paths used to draw the bitmap images. All paths should be centered
at (0, 0), not anchored there.
Set the graphics paths used to draw the bitmap images . All paths should be centered at ( 0 0 ) not anchored there .
public void SetPaths(GraphicsPath plusPath, GraphicsPath minusPath, GraphicsPath boxPath, bool disposePaths)
        {
            var oldDisposePaths = myDisposePaths;
            myDisposePaths = disposePaths;
            SetPath(ref myPlusPath, plusPath, oldDisposePaths);
            SetPath(ref myMinusPath, minusPath, oldDisposePaths);
            SetPath(ref myBoxPath, boxPath, oldDisposePaths);
        }
public void SetPaths ( GraphicsPath plusPath , GraphicsPath minusPath , GraphicsPath boxPath , bool disposePaths ) { var oldDisposePaths = myDisposePaths ; myDisposePaths = disposePaths ; SetPath ( ref myPlusPath , plusPath , oldDisposePaths ) ; SetPath ( ref myMinusPath , minusPath , oldDisposePaths ) ; SetPath ( ref myBoxPath , boxPath , oldDisposePaths ) ; }
Set the graphics paths used to draw the bitmap images.
Set the graphics paths used to draw the bitmap images .
plusPath
GraphicsPath
The path used to draw the plus sign
The path used to draw the plus sign
minusPath
GraphicsPath
The path used to draw the minus sign
The path used to draw the minus sign
boxPath
GraphicsPath
The path used to draw the box around the plus/minus sign
The path used to draw the box around the plus / minus sign
disposePaths
bool
Should the paths be disposed in the Dispose method. Set to true
if the path was created or cloned for this structure, false if the paths are cached.
Should the paths be disposed in the Dispose method . Set to true if the path was created or cloned for this structure false if the paths are cached .