Spread Windows Forms 8.0 Product Documentation
Picture Property (FpButton)


Gets or sets the image displayed in the button.
Syntax
'Declaration
 
Public Property Picture As Image
'Usage
 
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
Remarks

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.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

FpButton Class
FpButton Members

 

 


Copyright © GrapeCity, inc. All rights reserved.