StackPanel 类

定义

/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StackPanel : Panel, IInsertionPanel, IScrollSnapPointsInfo
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class StackPanel : Panel, IInsertionPanel, IScrollSnapPointsInfo
Public Class StackPanel
Inherits Panel
Implements IInsertionPanel, IScrollSnapPointsInfo
继承
属性
实现

构造函数

名称 说明
StackPanel()

属性

名称 说明
AccessKey (继承自 UIElement)
AccessKeyScopeOwner (继承自 UIElement)
ActualHeight (继承自 FrameworkElement)
ActualOffset (继承自 UIElement)
ActualSize (继承自 UIElement)
ActualTheme (继承自 FrameworkElement)
ActualWidth (继承自 FrameworkElement)
AllowDrop (继承自 UIElement)
AllowFocusOnInteraction (继承自 FrameworkElement)
AllowFocusWhenDisabled (继承自 FrameworkElement)
AreHorizontalSnapPointsRegular
AreScrollSnapPointsRegular
AreScrollSnapPointsRegularProperty
AreVerticalSnapPointsRegular
Background (继承自 Panel)
BackgroundSizing
BackgroundSizingProperty
BackgroundTransition (继承自 Panel)
BaseUri (继承自 FrameworkElement)
BorderBrush
BorderBrushProperty
BorderThickness
BorderThicknessProperty
CacheMode (继承自 UIElement)
CanBeScrollAnchor (继承自 UIElement)
CanDrag (继承自 UIElement)
CenterPoint (继承自 UIElement)
Children (继承自 Panel)
ChildrenTransitions (继承自 Panel)
Clip (继承自 UIElement)
CompositeMode (继承自 UIElement)
ContextFlyout (继承自 UIElement)
CornerRadius
CornerRadiusProperty
DataContext (继承自 FrameworkElement)
DesiredSize (继承自 UIElement)
Dispatcher (继承自 DependencyObject)
DispatcherQueue (继承自 DependencyObject)
ExitDisplayModeOnAccessKeyInvoked (继承自 UIElement)
FlowDirection (继承自 FrameworkElement)
FocusState (继承自 UIElement)
FocusVisualMargin (继承自 FrameworkElement)
FocusVisualPrimaryBrush (继承自 FrameworkElement)
FocusVisualPrimaryThickness (继承自 FrameworkElement)
FocusVisualSecondaryBrush (继承自 FrameworkElement)
FocusVisualSecondaryThickness (继承自 FrameworkElement)
Height (继承自 FrameworkElement)
HighContrastAdjustment (继承自 UIElement)
HorizontalAlignment (继承自 FrameworkElement)
IsAccessKeyScope (继承自 UIElement)
IsDoubleTapEnabled (继承自 UIElement)
IsHitTestVisible (继承自 UIElement)
IsHoldingEnabled (继承自 UIElement)
IsItemsHost (继承自 Panel)
IsLoaded (继承自 FrameworkElement)
IsRightTapEnabled (继承自 UIElement)
IsTabStop (继承自 UIElement)
IsTapEnabled (继承自 UIElement)
KeyboardAcceleratorPlacementMode (继承自 UIElement)
KeyboardAcceleratorPlacementTarget (继承自 UIElement)
KeyboardAccelerators (继承自 UIElement)
KeyTipHorizontalOffset (继承自 UIElement)
KeyTipPlacementMode (继承自 UIElement)
KeyTipTarget (继承自 UIElement)
KeyTipVerticalOffset (继承自 UIElement)
Language (继承自 FrameworkElement)
Lights (继承自 UIElement)
ManipulationMode (继承自 UIElement)
Margin (继承自 FrameworkElement)
MaxHeight (继承自 FrameworkElement)
MaxWidth (继承自 FrameworkElement)
MinHeight (继承自 FrameworkElement)
MinWidth (继承自 FrameworkElement)
Name (继承自 FrameworkElement)
Opacity (继承自 UIElement)
OpacityTransition (继承自 UIElement)
Orientation
OrientationProperty
Padding
PaddingProperty
Parent (继承自 FrameworkElement)
PointerCaptures (继承自 UIElement)
Projection (继承自 UIElement)
ProtectedCursor (继承自 UIElement)
RasterizationScale (继承自 UIElement)
RenderSize (继承自 UIElement)
RenderTransform (继承自 UIElement)
RenderTransformOrigin (继承自 UIElement)
RequestedTheme (继承自 FrameworkElement)
Resources (继承自 FrameworkElement)
Rotation (继承自 UIElement)
RotationAxis (继承自 UIElement)
RotationTransition (继承自 UIElement)
Scale (继承自 UIElement)
ScaleTransition (继承自 UIElement)
Shadow (继承自 UIElement)
Spacing
SpacingProperty
Style (继承自 FrameworkElement)
TabFocusNavigation (继承自 UIElement)
TabIndex (继承自 UIElement)
Tag (继承自 FrameworkElement)
Transform3D (继承自 UIElement)
TransformMatrix (继承自 UIElement)
Transitions (继承自 UIElement)
Translation (继承自 UIElement)
TranslationTransition (继承自 UIElement)
Triggers (继承自 FrameworkElement)
UseLayoutRounding (继承自 UIElement)
UseSystemFocusVisuals (继承自 UIElement)
VerticalAlignment (继承自 FrameworkElement)
Visibility (继承自 UIElement)
Width (继承自 FrameworkElement)
XamlRoot (继承自 UIElement)
XYFocusDown (继承自 UIElement)
XYFocusDownNavigationStrategy (继承自 UIElement)
XYFocusKeyboardNavigation (继承自 UIElement)
XYFocusLeft (继承自 UIElement)
XYFocusLeftNavigationStrategy (继承自 UIElement)
XYFocusRight (继承自 UIElement)
XYFocusRightNavigationStrategy (继承自 UIElement)
XYFocusUp (继承自 UIElement)
XYFocusUpNavigationStrategy (继承自 UIElement)

方法

名称 说明
AddHandler(RoutedEvent, Object, Boolean) (继承自 UIElement)
Arrange(Rect) (继承自 UIElement)
ArrangeOverride(Size) (继承自 FrameworkElement)
CancelDirectManipulations() (继承自 UIElement)
CapturePointer(Pointer) (继承自 UIElement)
ClearValue(DependencyProperty) (继承自 DependencyObject)
FindName(String) (继承自 FrameworkElement)
FindSubElementsForTouchTargeting(Point, Rect) (继承自 UIElement)
Focus(FocusState) (继承自 UIElement)
GetAnimationBaseValue(DependencyProperty) (继承自 DependencyObject)
GetBindingExpression(DependencyProperty) (继承自 FrameworkElement)
GetChildrenInTabFocusOrder() (继承自 UIElement)
GetInsertionIndexes(Point, Int32, Int32)
GetIrregularSnapPoints(Orientation, SnapPointsAlignment)
GetRegularSnapPoints(Orientation, SnapPointsAlignment, Single)
GetValue(DependencyProperty) (继承自 DependencyObject)
GetVisualInternal() (继承自 UIElement)
GoToElementStateCore(String, Boolean) (继承自 FrameworkElement)
InvalidateArrange() (继承自 UIElement)
InvalidateMeasure() (继承自 UIElement)
InvalidateViewport() (继承自 FrameworkElement)
Measure(Size) (继承自 UIElement)
MeasureOverride(Size) (继承自 FrameworkElement)
OnApplyTemplate() (继承自 FrameworkElement)
OnBringIntoViewRequested(BringIntoViewRequestedEventArgs) (继承自 UIElement)
OnCreateAutomationPeer() (继承自 UIElement)
OnDisconnectVisualChildren() (继承自 UIElement)
OnKeyboardAcceleratorInvoked(KeyboardAcceleratorInvokedEventArgs) (继承自 UIElement)
OnProcessKeyboardAccelerators(ProcessKeyboardAcceleratorEventArgs) (继承自 UIElement)
PopulatePropertyInfo(String, AnimationPropertyInfo) (继承自 UIElement)
PopulatePropertyInfoOverride(String, AnimationPropertyInfo) (继承自 UIElement)
ReadLocalValue(DependencyProperty) (继承自 DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback) (继承自 DependencyObject)
ReleasePointerCapture(Pointer) (继承自 UIElement)
ReleasePointerCaptures() (继承自 UIElement)
RemoveHandler(RoutedEvent, Object) (继承自 UIElement)
SetBinding(DependencyProperty, BindingBase) (继承自 FrameworkElement)
SetValue(DependencyProperty, Object) (继承自 DependencyObject)
StartAnimation(ICompositionAnimationBase) (继承自 UIElement)
StartBringIntoView() (继承自 UIElement)
StartBringIntoView(BringIntoViewOptions) (继承自 UIElement)
StartDragAsync(ExpPointerPoint) (继承自 UIElement)
StartDragAsync(PointerPoint) (继承自 UIElement)
StopAnimation(ICompositionAnimationBase) (继承自 UIElement)
TransformToVisual(UIElement) (继承自 UIElement)
TryInvokeKeyboardAccelerator(ProcessKeyboardAcceleratorEventArgs) (继承自 UIElement)
UnregisterPropertyChangedCallback(DependencyProperty, Int64) (继承自 DependencyObject)
UpdateLayout() (继承自 UIElement)

活动

名称 说明
AccessKeyDisplayDismissed (继承自 UIElement)
AccessKeyDisplayRequested (继承自 UIElement)
AccessKeyInvoked (继承自 UIElement)
ActualThemeChanged (继承自 FrameworkElement)
BringIntoViewRequested (继承自 UIElement)
CharacterReceived (继承自 UIElement)
ContextCanceled (继承自 UIElement)
ContextRequested (继承自 UIElement)
DataContextChanged (继承自 FrameworkElement)
DoubleTapped (继承自 UIElement)
DragEnter (继承自 UIElement)
DragLeave (继承自 UIElement)
DragOver (继承自 UIElement)
DragStarting (继承自 UIElement)
Drop (继承自 UIElement)
DropCompleted (继承自 UIElement)
EffectiveViewportChanged (继承自 FrameworkElement)
GettingFocus (继承自 UIElement)
GotFocus (继承自 UIElement)
Holding (继承自 UIElement)
HorizontalSnapPointsChanged
KeyDown (继承自 UIElement)
KeyUp (继承自 UIElement)
LayoutUpdated (继承自 FrameworkElement)
Loaded (继承自 FrameworkElement)
Loading (继承自 FrameworkElement)
LosingFocus (继承自 UIElement)
LostFocus (继承自 UIElement)
ManipulationCompleted (继承自 UIElement)
ManipulationDelta (继承自 UIElement)
ManipulationInertiaStarting (继承自 UIElement)
ManipulationStarted (继承自 UIElement)
ManipulationStarting (继承自 UIElement)
NoFocusCandidateFound (继承自 UIElement)
PointerCanceled (继承自 UIElement)
PointerCaptureLost (继承自 UIElement)
PointerEntered (继承自 UIElement)
PointerExited (继承自 UIElement)
PointerMoved (继承自 UIElement)
PointerPressed (继承自 UIElement)
PointerReleased (继承自 UIElement)
PointerWheelChanged (继承自 UIElement)
PreviewKeyDown (继承自 UIElement)
PreviewKeyUp (继承自 UIElement)
ProcessKeyboardAccelerators (继承自 UIElement)
RightTapped (继承自 UIElement)
SizeChanged (继承自 FrameworkElement)
Tapped (继承自 UIElement)
Unloaded (继承自 FrameworkElement)
VerticalSnapPointsChanged

适用于