spiceolz.blogg.se

Crear un check box word
Crear un check box word












Private void AdjustM圜heckBoxProperties()ĬheckBox1.CheckAlign = ContentAlignment.MiddleRight ĬheckBox1.CheckAlign = ContentAlignment.MiddleLeft Change the ThreeState and CheckAlign properties on every other click.ĬheckBox1->CheckAlign = ContentAlignment::MiddleRight ĬheckBox1->CheckAlign = ContentAlignment::MiddleLeft Label1->Text = String::Format( "ThreeState: ",ĬheckBox1->ThreeState, checkBox1->Checked, checkBox1->CheckState ) Concatenate the property values together on three lines. This code should be called in the Click event handler of the control. This example requires that a CheckBox, Label and Button have all been instantiated on a form and that the label is large enough to display three lines of text, as well as a reference to the System.Drawing namespace.

crear un check box word

This example shows how the property values change as the ThreeState property changes and the control is checked.

crear un check box word

The ThreeState property alternates between true and false with alternating clicks of the control and the CheckAlign alternates between a ContentAlignment value of MiddleRight and MiddleLeft. The following code example displays the values of three properties in a label. BindableAttribute SettingsBindableAttribute Examples














Crear un check box word