Spread Windows Forms 6.0 Product Documentation
Picture Property
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > FpButton Class : Picture Property

Glossary Item Box

Gets or sets the image displayed in the button.


Visual Basic (Declaration) 
Public Property Picture As Image
Visual Basic (Usage)Copy Code
Dim instance As FpButton
Dim value As Image
instance.Picture = value
value = instance.Picture
public Image Picture {get; set;}

Property Value

Image object containing the picture to display


If you set the TwoState property to true, you can set a different image for each of the two states of the button. Use this property to set the image for the button when it is not pressed. Use the PictureDown property to set the image for the button when it is pressed.

Tip: When using custom images to represent states, try to create a consistent look and feel. Also, be aware of common interface conventions used to represent states.


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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.