Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal checkedImageUrl As String, _ ByVal uncheckedImageUrl As String _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim checkedImageUrl As String Dim uncheckedImageUrl As String Dim instance As New CheckBoxRenderer(checkedImageUrl, uncheckedImageUrl) |
C# | |
---|---|
public CheckBoxRenderer( string checkedImageUrl, string uncheckedImageUrl ) |
Parameters
- checkedImageUrl
- Image to display when the check box is selected
- uncheckedImageUrl
- Image to display when check box is cleared
Initializes an instance of the CheckBoxRenderer class, with the specified pictures to display for a selected and cleared check box.
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6