Form
- Basis-Properties / Eigenschaften setzen
- Controls hinzufügen
- Events belegen / mappen
ShowDialog()
erbt von Controls
| Properties | Standardwert | Beschreibung |
AutoScaleMode |
"Font" |
|
AutoSize |
$false |
|
BackColor |
Control |
|
ClientSize |
300,300 |
Innenoberfläche |
ControlBox |
$true |
Steuert, ob X (Schließen), _ (Minimieren) oder Maximieren angezeigt wird |
ForeColor |
ControlText |
|
FormBorderStyle |
"Sizable" |
|
Icon |
$null |
[Icon]::new(App.ico) |
KeyPreview |
$false |
|
MaximizeBox |
$true |
|
MaximumSize |
0,0 |
Maximalgröße 0 bedeutet unbegrenzt |
MinimumSize |
0,0 |
Verhindert zu kleines Resize |
Opacity |
1.0 |
Geht von 0.0 bis 1.0 |
Padding |
0,0,0,0 |
|
StartPosition |
"WindowsDefaultLocation" |
|
ShowIcon |
$true |
|
ShowInTaskbar |
$true |
|
Size |
300,300 |
Fenstergröße |
Text |
|
Fenstertitel / Überschrift |
TopMost |
$false |
Fenster bleibt im Vordergrund |
WindowState |
Normal |
Weitere Möglichkeiten: Minimized, Maximized |
| wenn aktiv | wird ignoriert / nicht sichtbar |
FormBorderStyle = "None" |
MaximizeBox, ShowIcon |
AutoSize = $true |
Size |
Dock |
|
Dock = "Fill" |
AutoSize |
Dock = "Top" / "Bottom" |
Width |
Dock = "Left" / "Right" |
Heigth |