BooleanElement


Summary

A modular component that displays a checkbox to retrieve true-false parameters for functions.

Events


Name Description
Event Clicked Fires when the inactive areas around the controls are clicked on the element.
Event HelpButtonPressed Fires when the help button is clicked.
Event HelpContextChanged Fires when the the user enters a data entry region. Changes help without opening panel.
Event ResizeEnded Fires when the element is no longer being resized.
Event ResizeStarted Fires when the element is being resized.

Fields


Name Description
Field cmdHelp Help button
FieldBlue components Required designer variable.
Field groupBox1 A group box to surround individual components

Members

Name Description
HelpButtonHandler Public delegate for when someone presses the help button
LightStatus Indicates the allowed values for the status of the element, illustrated by the light
ResizeEndedHandler Fires when the element is no longer being resized.
ResizeStartedHandler Delegate for the when someone starts resizing an element

Properties


Name Description
Property AllowGripResize Gets or sets a boolean. True if the user is allowed to adjust the width of theelement to better display longer filenames.
PropertyBlue AlternateImage Gets or Sets the alternate image that can be used in the help panel instead.
Property Caption Controls the caption for this element (the group box text)
PropertyBlue CheckboxEnabled Gets or sets whether the checkbox is enabled
Property DefaultImage Gets or Sets the default image that will be used in the help panel.
PropertyBlue HelpButtonVisible Gets or sets whether or not the help button is visible.The help button that looks like a question mark will force open the help panneland populate it with the help content from this control.
Property HelpImage Gets or Sets the image that will appear after the help text in the panel, if any.
PropertyBlue HelpText Gets or Sets the text to appear in the help pannel.
Property HelpTitle Gets or Sets the title to be shown in the help panel. Defaults to the Caption.
PropertyBlue MaxWidth Gets or sets the maximum allowable width for dynamic resize. The dialog form sets thisdynamically to the size of the container panel. This is because the behavior forresizing larger than the size of the panel is erratic because of the autoscrollingbehavior.
Property MinWidth Gets or sets the minimum allowable width for dynamic resizing. This specifically affectsthe behavior when the user uses the grip to resize the element.
PropertyBlue ResizeGripVisible Gets or sets whether a resize grip is provided for the user to change the dimensions of the control.
Property Text Gets or sets the label that describes the checkbox.
PropertyBlue Value Gets or sets a boolean value that is true if the parameter is checked.
Property WikiAddress Gets or Sets the web address to use from the wiki button in the help panel.

Methods


Name Description
Method Constructor Initializes a new instance of the BooleanElement class
MethodBlue Dispose Clean up any resources being used.
Method HelpText_Append Appends a string to the end of the help content
MethodBlue HelpText_Clear Clears the existing help content.
Method InitializeComponent Required method for Designer support - do not modify the contents of this method with the code editor.
MethodBlue OnClick Called to fire the click event for this element
Method OnHelpButtonPressed Called when the help button has been pressed
MethodBlue OnHelpContextChanged Called when the data entry field is entered to change a topic, but only if panel is visible
Method OnResizeEnded Fires when someone has stopped resizing with the grip
MethodBlue OnResizeStarted Fires when someone uses the resize grip to resize the element

Last edited Jan 4, 2011 at 5:44 AM by gngdowid, version 1

Comments

No comments yet.