GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoPropertyModifier Class / FindProperty Method / FindProperty(GoPropertyModifierArgs) Method
The specified parameters.
In This Topic
    FindProperty(GoPropertyModifierArgs) Method
    In This Topic
    Finds a value according to the specified parameters.
    Syntax
    public virtual object FindProperty( 
       GoPropertyModifierArgs e
    )

    Parameters

    e
    The specified parameters.

    Return Value

    Returns an object according to the specified parameters. If no suitable object is found that conforms to the specified parameters, then this returns null.
    Remarks

    When the GoPropertyModifierArgs.GoPropertyModifierArgs.Choice value has the GoPropertyModifierChoice.Primary flag set, this will call FindItemProperty on the first object in the Collection. When the GoPropertyModifierArgs.GoPropertyModifierArgs.Choice value has the GoPropertyModifierChoice.Secondary flag set, this will call FindItemProperty on all the rest of the objects in the Collection. The first successful call to FindItemProperty will return that value.

    If Collection is null, then this method just returns null.

    You may find it convenient to call one of the overloaded methods: FindProperty(Int32,GoPropertyModifierChoice) or FindProperty(Int32,GoPropertyModifierPart,GoPropertyModifierChoice)

    See Also