Control 類別

定義

public ref class Control : FrameworkElement
/// [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 Control : FrameworkElement
[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 Control : FrameworkElement
Public Class Control
Inherits FrameworkElement
繼承
Object Platform::Object IInspectable DependencyObject UIElement FrameworkElement Control
衍生
屬性

建構函式

名稱 Description
Control()

屬性

名稱 Description
AccessKey (繼承來源 UIElement)
AccessKeyScopeOwner (繼承來源 UIElement)
ActualHeight (繼承來源 FrameworkElement)
ActualOffset (繼承來源 UIElement)
ActualSize (繼承來源 UIElement)
ActualTheme (繼承來源 FrameworkElement)
ActualWidth (繼承來源 FrameworkElement)
AllowDrop (繼承來源 UIElement)
AllowFocusOnInteraction (繼承來源 FrameworkElement)
AllowFocusWhenDisabled (繼承來源 FrameworkElement)
Background
BackgroundProperty
BackgroundSizing
BackgroundSizingProperty
BaseUri (繼承來源 FrameworkElement)
BorderBrush
BorderBrushProperty
BorderThickness
BorderThicknessProperty
CacheMode (繼承來源 UIElement)
CanBeScrollAnchor (繼承來源 UIElement)
CanDrag (繼承來源 UIElement)
CenterPoint (繼承來源 UIElement)
CharacterSpacing
CharacterSpacingProperty
Clip (繼承來源 UIElement)
CompositeMode (繼承來源 UIElement)
ContextFlyout (繼承來源 UIElement)
CornerRadius
CornerRadiusProperty
DataContext (繼承來源 FrameworkElement)
DefaultStyleKey
DefaultStyleKeyProperty
DefaultStyleResourceUri
DefaultStyleResourceUriProperty
DesiredSize (繼承來源 UIElement)
Dispatcher (繼承來源 DependencyObject)
DispatcherQueue (繼承來源 DependencyObject)
ElementSoundMode
ElementSoundModeProperty
ExitDisplayModeOnAccessKeyInvoked (繼承來源 UIElement)
FlowDirection (繼承來源 FrameworkElement)
FocusState (繼承來源 UIElement)
FocusVisualMargin (繼承來源 FrameworkElement)
FocusVisualPrimaryBrush (繼承來源 FrameworkElement)
FocusVisualPrimaryThickness (繼承來源 FrameworkElement)
FocusVisualSecondaryBrush (繼承來源 FrameworkElement)
FocusVisualSecondaryThickness (繼承來源 FrameworkElement)
FontFamily
FontFamilyProperty
FontSize
FontSizeProperty
FontStretch
FontStretchProperty
FontStyle
FontStyleProperty
FontWeight
FontWeightProperty
Foreground
ForegroundProperty
Height (繼承來源 FrameworkElement)
HighContrastAdjustment (繼承來源 UIElement)
HorizontalAlignment (繼承來源 FrameworkElement)
HorizontalContentAlignment
HorizontalContentAlignmentProperty
IsAccessKeyScope (繼承來源 UIElement)
IsDoubleTapEnabled (繼承來源 UIElement)
IsEnabled
IsEnabledProperty
IsFocusEngaged
IsFocusEngagedProperty
IsFocusEngagementEnabled
IsFocusEngagementEnabledProperty
IsHitTestVisible (繼承來源 UIElement)
IsHoldingEnabled (繼承來源 UIElement)
IsLoaded (繼承來源 FrameworkElement)
IsRightTapEnabled (繼承來源 UIElement)
IsTabStop (繼承來源 UIElement)
IsTapEnabled (繼承來源 UIElement)
IsTemplateFocusTargetProperty
IsTemplateKeyTipTargetProperty
IsTextScaleFactorEnabled
IsTextScaleFactorEnabledProperty
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)
Padding
PaddingProperty
Parent (繼承來源 FrameworkElement)
PointerCaptures (繼承來源 UIElement)
Projection (繼承來源 UIElement)
ProtectedCursor (繼承來源 UIElement)
RasterizationScale (繼承來源 UIElement)
RenderSize (繼承來源 UIElement)
RenderTransform (繼承來源 UIElement)
RenderTransformOrigin (繼承來源 UIElement)
RequestedTheme (繼承來源 FrameworkElement)
RequiresPointer
RequiresPointerProperty
Resources (繼承來源 FrameworkElement)
Rotation (繼承來源 UIElement)
RotationAxis (繼承來源 UIElement)
RotationTransition (繼承來源 UIElement)
Scale (繼承來源 UIElement)
ScaleTransition (繼承來源 UIElement)
Shadow (繼承來源 UIElement)
Style (繼承來源 FrameworkElement)
TabFocusNavigation (繼承來源 UIElement)
TabIndex (繼承來源 UIElement)
TabNavigation
TabNavigationProperty
Tag (繼承來源 FrameworkElement)
Template
TemplateProperty
Transform3D (繼承來源 UIElement)
TransformMatrix (繼承來源 UIElement)
Transitions (繼承來源 UIElement)
Translation (繼承來源 UIElement)
TranslationTransition (繼承來源 UIElement)
Triggers (繼承來源 FrameworkElement)
UseLayoutRounding (繼承來源 UIElement)
UseSystemFocusVisuals (繼承來源 UIElement)
VerticalAlignment (繼承來源 FrameworkElement)
VerticalContentAlignment
VerticalContentAlignmentProperty
Visibility (繼承來源 UIElement)
Width (繼承來源 FrameworkElement)
XamlRoot (繼承來源 UIElement)
XYFocusDown (繼承來源 UIElement)
XYFocusDownNavigationStrategy (繼承來源 UIElement)
XYFocusKeyboardNavigation (繼承來源 UIElement)
XYFocusLeft (繼承來源 UIElement)
XYFocusLeftNavigationStrategy (繼承來源 UIElement)
XYFocusRight (繼承來源 UIElement)
XYFocusRightNavigationStrategy (繼承來源 UIElement)
XYFocusUp (繼承來源 UIElement)
XYFocusUpNavigationStrategy (繼承來源 UIElement)

附加屬性

名稱 Description
IsTemplateFocusTarget
IsTemplateKeyTipTarget

方法

名稱 Description
AddHandler(RoutedEvent, Object, Boolean) (繼承來源 UIElement)
ApplyTemplate()
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)
GetIsTemplateFocusTarget(FrameworkElement)
GetIsTemplateKeyTipTarget(DependencyObject)
GetTemplateChild(String)
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)
OnCharacterReceived(CharacterReceivedRoutedEventArgs)
OnCreateAutomationPeer() (繼承來源 UIElement)
OnDisconnectVisualChildren() (繼承來源 UIElement)
OnDoubleTapped(DoubleTappedRoutedEventArgs)
OnDragEnter(DragEventArgs)
OnDragLeave(DragEventArgs)
OnDragOver(DragEventArgs)
OnDrop(DragEventArgs)
OnGotFocus(RoutedEventArgs)
OnHolding(HoldingRoutedEventArgs)
OnKeyboardAcceleratorInvoked(KeyboardAcceleratorInvokedEventArgs) (繼承來源 UIElement)
OnKeyDown(KeyRoutedEventArgs)
OnKeyUp(KeyRoutedEventArgs)
OnLostFocus(RoutedEventArgs)
OnManipulationCompleted(ManipulationCompletedRoutedEventArgs)
OnManipulationDelta(ManipulationDeltaRoutedEventArgs)
OnManipulationInertiaStarting(ManipulationInertiaStartingRoutedEventArgs)
OnManipulationStarted(ManipulationStartedRoutedEventArgs)
OnManipulationStarting(ManipulationStartingRoutedEventArgs)
OnPointerCanceled(PointerRoutedEventArgs)
OnPointerCaptureLost(PointerRoutedEventArgs)
OnPointerEntered(PointerRoutedEventArgs)
OnPointerExited(PointerRoutedEventArgs)
OnPointerMoved(PointerRoutedEventArgs)
OnPointerPressed(PointerRoutedEventArgs)
OnPointerReleased(PointerRoutedEventArgs)
OnPointerWheelChanged(PointerRoutedEventArgs)
OnPreviewKeyDown(KeyRoutedEventArgs)
OnPreviewKeyUp(KeyRoutedEventArgs)
OnProcessKeyboardAccelerators(ProcessKeyboardAcceleratorEventArgs) (繼承來源 UIElement)
OnRightTapped(RightTappedRoutedEventArgs)
OnTapped(TappedRoutedEventArgs)
PopulatePropertyInfo(String, AnimationPropertyInfo) (繼承來源 UIElement)
PopulatePropertyInfoOverride(String, AnimationPropertyInfo) (繼承來源 UIElement)
ReadLocalValue(DependencyProperty) (繼承來源 DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback) (繼承來源 DependencyObject)
ReleasePointerCapture(Pointer) (繼承來源 UIElement)
ReleasePointerCaptures() (繼承來源 UIElement)
RemoveFocusEngagement()
RemoveHandler(RoutedEvent, Object) (繼承來源 UIElement)
SetBinding(DependencyProperty, BindingBase) (繼承來源 FrameworkElement)
SetIsTemplateFocusTarget(FrameworkElement, Boolean)
SetIsTemplateKeyTipTarget(DependencyObject, Boolean)
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)

事件

名稱 Description
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)
FocusDisengaged
FocusEngaged
GettingFocus (繼承來源 UIElement)
GotFocus (繼承來源 UIElement)
Holding (繼承來源 UIElement)
IsEnabledChanged
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)

適用於