Werbung

Herkunft

Kurzinformation

Creates a new System.Windows.Forms.DataGrid

Syntax

<# .Description Creates a new System.Windows.Forms.DataGrid .Synopsis Creates a new System.Windows.Forms.DataGrid .Example New-DataGrid .Example New-DataGrid -OutputXaml .Parameter OutputXaml If Set, will output the object as XAML instead of creating it #> param( [Switch] ${AllowSorting}, ${AlternatingBackColor}, ${BackColor}, ${ForeColor}, [System.Windows.Forms.BorderStyle] ${BorderStyle}, ${CaptionBackColor}, ${CaptionForeColor}, ${CaptionFont}, [System.String] ${CaptionText}, [Switch] ${CaptionVisible}, ${CurrentCell}, ${SelectionBackColor}, ${SelectionForeColor}, ${DataSource}, [System.String] ${DataMember}, [System.Int32] ${CurrentRowIndex}, ${TableStyles}, ${GridLineColor}, [System.Windows.Forms.DataGridLineStyle] ${GridLineStyle}, [System.Windows.Forms.DataGridParentRowsLabelStyle] ${ParentRowsLabelStyle}, [Switch] ${FlatMode}, ${HeaderBackColor}, ${BackgroundColor}, ${HeaderFont}, ${HeaderForeColor}, ${LinkColor}, ${LinkHoverColor}, [Switch] ${AllowNavigation}, ${Cursor}, ${BackgroundImage}, [System.Windows.Forms.ImageLayout] ${BackgroundImageLayout}, ${ParentRowsBackColor}, ${ParentRowsForeColor}, [System.Int32] ${PreferredColumnWidth}, [System.Int32] ${PreferredRowHeight}, [Switch] ${ReadOnly}, [Switch] ${ColumnHeadersVisible}, [Switch] ${ParentRowsVisible}, [Switch] ${RowHeadersVisible}, [System.Int32] ${RowHeaderWidth}, [System.String] ${Text}, ${Item}, ${Site}, [System.String] ${AccessibleDefaultActionDescription}, [System.String] ${AccessibleDescription}, [System.String] ${AccessibleName}, [System.Windows.Forms.AccessibleRole] ${AccessibleRole}, [Switch] ${AllowDrop}, [System.Windows.Forms.AnchorStyles] ${Anchor}, [Switch] ${AutoSize}, ${AutoScrollOffset}, ${BindingContext}, ${Bounds}, [Switch] ${Capture}, [Switch] ${CausesValidation}, ${ClientSize}, ${ContextMenu}, ${ContextMenuStrip}, ${Controls}, [System.Windows.Forms.DockStyle] ${Dock}, [Switch] ${Enabled}, ${Font}, [System.Int32] ${Height}, [Switch] ${IsAccessible}, [System.Int32] ${Left}, ${Location}, ${Margin}, ${MaximumSize}, ${MinimumSize}, [System.String] ${Name}, ${Parent}, ${Region}, [System.Windows.Forms.RightToLeft] ${RightToLeft}, ${Size}, [System.Int32] ${TabIndex}, [Switch] ${TabStop}, ${Tag}, [System.Int32] ${Top}, [Switch] ${UseWaitCursor}, [Switch] ${Visible}, [System.Int32] ${Width}, ${WindowTarget}, ${Padding}, [System.Windows.Forms.ImeMode] ${ImeMode}, [System.Management.Automation.ScriptBlock[]] ${On_BorderStyleChanged}, [System.Management.Automation.ScriptBlock[]] ${On_CaptionVisibleChanged}, [System.Management.Automation.ScriptBlock[]] ${On_CurrentCellChanged}, [System.Management.Automation.ScriptBlock[]] ${On_DataSourceChanged}, [System.Management.Automation.ScriptBlock[]] ${On_ParentRowsLabelStyleChanged}, [System.Management.Automation.ScriptBlock[]] ${On_FlatModeChanged}, [System.Management.Automation.ScriptBlock[]] ${On_BackgroundColorChanged}, [System.Management.Automation.ScriptBlock[]] ${On_AllowNavigationChanged}, [System.Management.Automation.ScriptBlock[]] ${On_CursorChanged}, [System.Management.Automation.ScriptBlock[]] ${On_BackgroundImageChanged}, [System.Management.Automation.ScriptBlock[]] ${On_BackgroundImageLayoutChanged}, [System.Management.Automation.ScriptBlock[]] ${On_ReadOnlyChanged}, [System.Management.Automation.ScriptBlock[]] ${On_ParentRowsVisibleChanged}, [System.Management.Automation.ScriptBlock[]] ${On_TextChanged}, [System.Management.Automation.ScriptBlock[]] ${On_Navigate}, [System.Management.Automation.ScriptBlock[]] ${On_Scroll}, [System.Management.Automation.ScriptBlock[]] ${On_BackButtonClick}, [System.Management.Automation.ScriptBlock[]] ${On_ShowParentDetailsButtonClick}, [System.Management.Automation.ScriptBlock[]] ${On_AutoSizeChanged}, [System.Management.Automation.ScriptBlock[]] ${On_BackColorChanged}, [System.Management.Automation.ScriptBlock[]] ${On_BindingContextChanged}, [System.Management.Automation.ScriptBlock[]] ${On_CausesValidationChanged}, [System.Management.Automation.ScriptBlock[]] ${On_ClientSizeChanged}, [System.Management.Automation.ScriptBlock[]] ${On_ContextMenuChanged}, [System.Management.Automation.ScriptBlock[]] ${On_ContextMenuStripChanged}, [System.Management.Automation.ScriptBlock[]] ${On_DockChanged}, [System.Management.Automation.ScriptBlock[]] ${On_EnabledChanged}, [System.Management.Automation.ScriptBlock[]] ${On_FontChanged}, [System.Management.Automation.ScriptBlock[]] ${On_ForeColorChanged}, [System.Management.Automation.ScriptBlock[]] ${On_LocationChanged}, [System.Management.Automation.ScriptBlock[]] ${On_MarginChanged}, [System.Management.Automation.ScriptBlock[]] ${On_RegionChanged}, [System.Management.Automation.ScriptBlock[]] ${On_RightToLeftChanged}, [System.Management.Automation.ScriptBlock[]] ${On_SizeChanged}, [System.Management.Automation.ScriptBlock[]] ${On_TabIndexChanged}, [System.Management.Automation.ScriptBlock[]] ${On_TabStopChanged}, [System.Management.Automation.ScriptBlock[]] ${On_VisibleChanged}, [System.Management.Automation.ScriptBlock[]] ${On_Click}, [System.Management.Automation.ScriptBlock[]] ${On_ControlAdded}, [System.Management.Automation.ScriptBlock[]] ${On_ControlRemoved}, [System.Management.Automation.ScriptBlock[]] ${On_DragDrop}, [System.Management.Automation.ScriptBlock[]] ${On_DragEnter}, [System.Management.Automation.ScriptBlock[]] ${On_DragOver}, [System.Management.Automation.ScriptBlock[]] ${On_DragLeave}, [System.Management.Automation.ScriptBlock[]] ${On_GiveFeedback}, [System.Management.Automation.ScriptBlock[]] ${On_HandleCreated}, [System.Management.Automation.ScriptBlock[]] ${On_HandleDestroyed}, [System.Management.Automation.ScriptBlock[]] ${On_HelpRequested}, [System.Management.Automation.ScriptBlock[]] ${On_Invalidated}, [System.Management.Automation.ScriptBlock[]] ${On_PaddingChanged}, [System.Management.Automation.ScriptBlock[]] ${On_Paint}, [System.Management.Automation.ScriptBlock[]] ${On_QueryContinueDrag}, [System.Management.Automation.ScriptBlock[]] ${On_QueryAccessibilityHelp}, [System.Management.Automation.ScriptBlock[]] ${On_DoubleClick}, [System.Management.Automation.ScriptBlock[]] ${On_Enter}, [System.Management.Automation.ScriptBlock[]] ${On_GotFocus}, [System.Management.Automation.ScriptBlock[]] ${On_KeyDown}, [System.Management.Automation.ScriptBlock[]] ${On_KeyPress}, [System.Management.Automation.ScriptBlock[]] ${On_KeyUp}, [System.Management.Automation.ScriptBlock[]] ${On_Layout}, [System.Management.Automation.ScriptBlock[]] ${On_Leave}, [System.Management.Automation.ScriptBlock[]] ${On_LostFocus}, [System.Management.Automation.ScriptBlock[]] ${On_MouseClick}, [System.Management.Automation.ScriptBlock[]] ${On_MouseDoubleClick}, [System.Management.Automation.ScriptBlock[]] ${On_MouseCaptureChanged}, [System.Management.Automation.ScriptBlock[]] ${On_MouseDown}, [System.Management.Automation.ScriptBlock[]] ${On_MouseEnter}, [System.Management.Automation.ScriptBlock[]] ${On_MouseLeave}, [System.Management.Automation.ScriptBlock[]] ${On_MouseHover}, [System.Management.Automation.ScriptBlock[]] ${On_MouseMove}, [System.Management.Automation.ScriptBlock[]] ${On_MouseUp}, [System.Management.Automation.ScriptBlock[]] ${On_MouseWheel}, [System.Management.Automation.ScriptBlock[]] ${On_Move}, [System.Management.Automation.ScriptBlock[]] ${On_PreviewKeyDown}, [System.Management.Automation.ScriptBlock[]] ${On_Resize}, [System.Management.Automation.ScriptBlock[]] ${On_ChangeUICues}, [System.Management.Automation.ScriptBlock[]] ${On_StyleChanged}, [System.Management.Automation.ScriptBlock[]] ${On_SystemColorsChanged}, [System.Management.Automation.ScriptBlock[]] ${On_Validating}, [System.Management.Automation.ScriptBlock[]] ${On_Validated}, [System.Management.Automation.ScriptBlock[]] ${On_ParentChanged}, [System.Management.Automation.ScriptBlock[]] ${On_ImeModeChanged}, [System.Management.Automation.ScriptBlock[]] ${On_Disposed}, [Switch] ${OutputXaml} ) begin { } process { try { $Object = New-Object System.Windows.Forms.DataGrid } catch { throw $_ return } Set-Property -property $psBoundParameters -inputObject $Object if ($outputXaml) { $strWrite = New-Object IO.StringWriter ([xml]([Windows.Markup.XamlWriter]::Save($Object))).Save($strWrite) return "$strWrite" } $Object } end { }

Beschreibung

Creates a new System.Windows.Forms.DataGrid

Links

Liste aller Commandlets Mehr über die Windows PowerShell

Bücher zur PowerShell

Buchcover Windows PowerShell 5.0 - Das Praxishandbuch (1. Auflage 2016/5. Auflage Gesamtreihe) Windows PowerShell 5.0 - Das Praxishandbuch (1. Auflage 2016/5. Auflage Gesamtreihe)
Autoren: Dr. Holger Schwichtenberg
erschienen 2016, 996 Seiten, 49,99 €
ISBN: 3446446435
Bestellung: Amazon.de oder im Buchhandel über ISBN 3446446435

Schulungen/Seminare

Offene Seminare zur PowerShell
In-House-Seminare zur PowerShell