GoDiagram Win Reference
SetBrushPart Method

the Northwoods.Go.GoObject whose brush is being modified
a Brush; if null, this will construct a new Brush using the new property value
a GoPropertyModifierArgs
the new Brush property value
This constructs and returns a new Brush using the properties of the given Brush b with the particular property specified by e set to the value newval.
Syntax
'Declaration
 
Protected Overridable Function SetBrushPart( _
   ByVal obj As GoObject, _
   ByVal b As Brush, _
   ByVal e As GoPropertyModifierArgs, _
   ByVal newval As Object _
) As Brush
protected virtual Brush SetBrushPart( 
   GoObject obj,
   Brush b,
   GoPropertyModifierArgs e,
   object newval
)

Parameters

obj
the Northwoods.Go.GoObject whose brush is being modified
b
a Brush; if null, this will construct a new Brush using the new property value
e
a GoPropertyModifierArgs
newval
the new Brush property value

Return Value

a new Brush
Remarks
Typically this is just called by ModifyProperty(GoPropertyModifierArgs,Object). You will want to override this if you want to handle additional brush properties beyond those enumerated by GoPropertyModifierPart.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoPropertyModifier Class
GoPropertyModifier Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback