Table of Contents

Method UpdatePrimitiveImage

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

UpdatePrimitiveImage(VisualControlState)

Updates the internal graphic primitive's image and image set based on the specified visual control state.

protected virtual void UpdatePrimitiveImage(VisualControlState state)

Parameters

state VisualControlState

The visual control state that determines which image and image set to apply to the primitive.

Remarks

If the specified state does not have an associated image, the default image is used. The method also updates the image set for the primitive if one is available for the given state.