Class
Control

Wraps a Control element.

Definition

Namespace:ArtOfTest.WebAii.Silverlight.UI

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public class Control : SilverlightTestElement, IAutomationPeer, IPeerConverter, IControl, IFrameworkElement, ITargetElement

Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementSilverlightTestElementControl

Derived Classes: AutoCompleteBoxCalendarCalendarItemContentControlDataGridDataGridRowDataGridRowGroupHeaderDataPagerDatePickerDescriptionViewerGridSplitterItemsControlPasswordBoxRangeBaseRichTextBoxTextBoxThumbUserControlValidationSummaryAppointmentElementAppointmentItemAppointmentsPanelBarItemBarStackPanelCandlestickSeriesCartesianChartGridCartesianCustomAnnotationCartesianGridLineAnnotationCartesianMarkedZoneAnnotationCartesianPlotBandAnnotationCategoricalAxisCategoricalRadialAxisChartViewAxisLabelChartViewContentPresenterChartViewCrosshairLabelColumnHeaderComparativeMeasureComparativeMeasuresContainerContinuousSeriesBaseDataAxisLabelDataBarLabelDateTimeCategoricalAxisDateTimeContinuousAxisDocumentPresenterWrapperBaseDoughnutSeriesFeaturedMeasurePresenterFilteringControlGridViewCellGridViewDataControlGridViewGroupPanelGridViewGroupRowGroupHeaderGroupHeaderRowHeatMapColorGridHeatMapColumnLabelsControlHeatMapLabelHeatMapRowLabelsControlHighlightItemHorizontalDataAxisTickHorizontalLabelTickLegendLabelLegendPathItemLinearAxisLogarithmicAxisMacdhIndicatorManipulationAdornerMapCommandBarMapContentPresenterMapMouseLocationIndicatorMapNavigationMapZoomBarNavigationItemButtonNumericRadialAxisOhlcSeriesPanZoomBarPieSeriesPolarAxisPolarAxisGridLineAnnotationPolarAxisPlotBandAnnotationPolarChartGridPolarCustomAnnotationPolarPointSeriesPositioningIndicatorPanelProgressPresenterQualitativeRangeContainerQuantitativeScaleContainerRadAreaSparklineRadAutoCompleteBoxRadAutoCompleteBoxItemRadBarcode11RadBarcode128RadBarcode128ARadBarcode128BRadBarcode128CRadBarcode25InterleavedRadBarcode25StandardRadBarcode39RadBarcode93RadBarcode93ExtendedRadBarcodeCodebarRadBarcodeEAN13RadBarcodeEAN8RadBarcodeMSIRadBarcodePostnetRadBarcodeQRRadBarcodeUPCARadBarcodeUPCERadBarcodeUPCSupplement2RadBarcodeUPCSupplement5RadBreadcrumbRadBreadcrumbBarRadBreadcrumbBarItemRadBusyIndicatorRadCalendarRadColorPickerRadColumnSparklineRadDataAxisRadDataBarRadDateTimePickerRadDiagramRadGanttViewRadGridResizerRadHeatMapRadHorizontalBulletGraphRadLinearSparklineRadListBoxItemRadMapPathRadMapTextBlockRadMaskedInputRadMaskedTextBoxRadPieChartRadPivotCellRadPivotCellPanelRadPivotFieldListRadPivotGridRadPivotGroupHeaderRadPivotHeaderRadPivotMapRadPolarChartRadPropertyGridRadRadialMenuRadRibbonContextualGroupRadRichTextBoxRadScatterSparklineRadScheduleViewRadSparklineColumnRadSparklineDiamondRadSparklineIndicatorItemRadSpreadsheetRadSpreadsheetEditorRadStacked100DataBarRadStackedDataBarRadTickBarRadTileListRadTreeMapRadTreeMapItemRadTreeMapPanelRadUploadItemRadVerticalBulletGraphRadVerticalDataAxisRadWinLossSparklineRadWizardRadarPointSeriesRadialAxisGridLineAnnotationRadialAxisPlotBandAnnotationAppointmentsControlRadSchedulerSchedulerPresenterSimpleCellSimpleHighlightedCellStringFilterEditorTimeLineContainerTimeRulerItemTimeRulerLinesPanelTimeRulerMonthViewItemTimeRulerPanelTrackBallInfoControlTreeCellTreeHighlightedCellVerticalDataAxisTickVerticalLabelTickVisualCellVisualStatesItemPresenterFilteringControlStringFilterEditor

Implements: IAutomationPeerIControlIFrameworkElementIPeerConverterITargetElement

Inherited Members SilverlightTestElement.UseLayoutRoundingPropertySilverlightTestElement.UseLayoutRoundingFrameworkElement.ActualWidthPropertyFrameworkElement.ActualHeightPropertyFrameworkElement.WidthPropertyFrameworkElement.HeightPropertyFrameworkElement.MinWidthPropertyFrameworkElement.MaxWidthPropertyFrameworkElement.MinHeightPropertyFrameworkElement.MaxHeightPropertyFrameworkElement.HorizontalAlignmentPropertyFrameworkElement.VerticalAlignmentPropertyFrameworkElement.MarginPropertyFrameworkElement.DesiredSizePropertyFrameworkElement.RenderSizePropertyFrameworkElement.NamePropertyFrameworkElement.TagPropertyFrameworkElement.DataContextPropertyFrameworkElement.OpacityPropertyFrameworkElement.ClipPropertyFrameworkElement.RenderTransformPropertyFrameworkElement.OpacityMaskPropertyFrameworkElement.RenderTransformOriginPropertyFrameworkElement.IsHitTestVisiblePropertyFrameworkElement.VisibilityPropertyFrameworkElement.GetIdentifier(out string, out string)FrameworkElement.IsChild(FrameworkElement)FrameworkElement.GetChildTagIndex(FrameworkElement)FrameworkElement.InitializeMappings(MappingsCollection)FrameworkElement.As<T>()FrameworkElement.CastAs<T>()FrameworkElement.SetProxy(bool)FrameworkElement.SetUid(string)FrameworkElement.SetFindInfo(VisualFindInfo)FrameworkElement.SetXamlTag(string)FrameworkElement.AssignReference(AutomationReference)FrameworkElement.KeyPress(Keys, int, int, int)FrameworkElement.GetRectangle()FrameworkElement.GetRectangle(FrameworkElement)FrameworkElement.GetIntRectangle()FrameworkElement.IsHitTest()FrameworkElement.IsHitTest(bool)FrameworkElement.IsHitTest(FrameworkElement, bool)FrameworkElement.Highlight()FrameworkElement.Highlight(bool)FrameworkElement.Parent()FrameworkElement.Parent<T>()FrameworkElement.Parent(string)FrameworkElement.Parent(string, bool)FrameworkElement.GetNextSibling()FrameworkElement.GetPrevSibling()FrameworkElement.NextSibling(string)FrameworkElement.NextSibling<T>()FrameworkElement.PreviousSibling(string)FrameworkElement.PreviousSibling<T>()FrameworkElement.AnySibling<T>()FrameworkElement.AnySibling(string)FrameworkElement.GetScreenRectangle()FrameworkElement.ScrollToVisible()FrameworkElement.ScrollToVisible(ScrollToVisibleType)FrameworkElement.EnsureClickable()FrameworkElement.ToXml()FrameworkElement.Refresh()FrameworkElement.Equals(object)FrameworkElement.GetHashCode()FrameworkElement.GetProperties()FrameworkElement.GetAttachedProperty<T>(string, string)FrameworkElement.SetAttachedProperty<T>(string, string, T)FrameworkElement.SetFocus()FrameworkElement.ValidateMouseLocationIfNeeded(Point)FrameworkElement.GetStringPresentation()FrameworkElement.ToRealObject()FrameworkElement.FromRealObject(object)FrameworkElement.ValidateType(Type, string)FrameworkElement.GetKnownControlTypes(TechnologyType)FrameworkElement.RegisterElement(Type, string)FrameworkElement.InitKnownWpfControlTypes()FrameworkElement.InitKnownSilverlightControlTypes()FrameworkElement.InitKnownXamlControlTypes(Type)FrameworkElement.GetControlTypeFromInterface(Type)FrameworkElement.Match(IFindExpression)FrameworkElement.SetDepth(int)FrameworkElement.AddChildNode(ITargetElement)FrameworkElement.SetClosingTag(ITargetElement)FrameworkElement.GetChildren()FrameworkElement.GetParent()FrameworkElement.GetHostParent()FrameworkElement.SetParent(ITargetElement)FrameworkElement.GetUniqueHashCode()FrameworkElement.ToString()FrameworkElement.Capture()FrameworkElement.CaptureImage()FrameworkElement.GetProperty<T>(string)FrameworkElement.GetPropertyTypeSafe(string)FrameworkElement.GetAutomationProperty(string)FrameworkElement.SetProperty(string, object)FrameworkElement.ActualWidthFrameworkElement.ActualHeightFrameworkElement.WidthFrameworkElement.HeightFrameworkElement.MinWidthFrameworkElement.MaxWidthFrameworkElement.MinHeightFrameworkElement.MaxHeightFrameworkElement.HorizontalAlignmentFrameworkElement.VerticalAlignmentFrameworkElement.MarginFrameworkElement.DesiredSizeFrameworkElement.RenderSizeFrameworkElement.NameFrameworkElement.OpacityFrameworkElement.ClipFrameworkElement.RenderTransformFrameworkElement.OpacityMaskFrameworkElement.RenderTransformOriginFrameworkElement.IsHitTestVisibleFrameworkElement.VisibilityFrameworkElement.UidFrameworkElement.MappingsFrameworkElement.AutomationIdFrameworkElement.XamlTagBaseFrameworkElement.TextFrameworkElement.TextBlockContentFrameworkElement.TextLiteralContentFrameworkElement.UserFrameworkElement.XamlTagFrameworkElement.WaitFrameworkElement.FindFrameworkElement.ApplicationFrameworkElement.AbsoluteTagIndexFrameworkElement.TagNameIndexFrameworkElement.AbsoluteSiblingTagIndexFrameworkElement.EnableValidateMouseLocationFrameworkElement.ToolTipTextFrameworkElement.ComputedVisibilityFrameworkElement.IsVisibleFrameworkElement.ChildrenFrameworkElement.TechnologyTypeFrameworkElement.DepthFrameworkElement.IsTestRegionFrameworkElement.ParsedElementFrameworkElement.HostAutomationObject<FrameworkElement>.GetProperty(AutomationProperty)AutomationObject<FrameworkElement>.GetProperty(AutomationProperty, object)AutomationObject<FrameworkElement>.SetProperty(AutomationProperty, object)AutomationObject<FrameworkElement>.InvokeMethod(AutomationMethod, params object[])AutomationObject<FrameworkElement>.InvokeMethod(string, params object[])AutomationObject<FrameworkElement>.Serialize()AutomationObject<FrameworkElement>.Deserialize(string)AutomationObject<FrameworkElement>.ReferenceAutomationObject<FrameworkElement>.PropertyBag

Constructors

Control()

Declaration

cs-api-definition
public Control()

Fields

BackgroundProperty

Declaration

cs-api-definition
public static AutomationProperty BackgroundProperty

Field Value

AutomationProperty

BorderBrushProperty

Declaration

cs-api-definition
public static AutomationProperty BorderBrushProperty

Field Value

AutomationProperty

BorderThicknessProperty

Declaration

cs-api-definition
public static AutomationProperty BorderThicknessProperty

Field Value

AutomationProperty

FontFamilyProperty

Declaration

cs-api-definition
public static AutomationProperty FontFamilyProperty

Field Value

AutomationProperty

FontSizeProperty

Declaration

cs-api-definition
public static AutomationProperty FontSizeProperty

Field Value

AutomationProperty

FontStretchProperty

Declaration

cs-api-definition
public static AutomationProperty FontStretchProperty

Field Value

AutomationProperty

FontStyleProperty

Declaration

cs-api-definition
public static AutomationProperty FontStyleProperty

Field Value

AutomationProperty

FontWeightProperty

Declaration

cs-api-definition
public static AutomationProperty FontWeightProperty

Field Value

AutomationProperty

ForegroundProperty

Declaration

cs-api-definition
public static AutomationProperty ForegroundProperty

Field Value

AutomationProperty

HorizontalContentAlignmentProperty

Declaration

cs-api-definition
public static AutomationProperty HorizontalContentAlignmentProperty

Field Value

AutomationProperty

IsEnabledProperty

Declaration

cs-api-definition
public static AutomationProperty IsEnabledProperty

Field Value

AutomationProperty

IsTabStopProperty

Declaration

cs-api-definition
public static AutomationProperty IsTabStopProperty

Field Value

AutomationProperty

PaddingProperty

Declaration

cs-api-definition
public static AutomationProperty PaddingProperty

Field Value

AutomationProperty

TabIndexProperty

Declaration

cs-api-definition
public static AutomationProperty TabIndexProperty

Field Value

AutomationProperty

TabNavigationProperty

Declaration

cs-api-definition
public static AutomationProperty TabNavigationProperty

Field Value

AutomationProperty

VerticalContentAlignmentProperty

Declaration

cs-api-definition
public static AutomationProperty VerticalContentAlignmentProperty

Field Value

AutomationProperty

Properties

Background

Declaration

cs-api-definition
public Brush Background { get; set; }

Property Value

Brush

BorderBrush

Declaration

cs-api-definition
public Brush BorderBrush { get; set; }

Property Value

Brush

BorderThickness

Declaration

cs-api-definition
public Thickness BorderThickness { get; set; }

Property Value

Thickness

FontFamily

Declaration

cs-api-definition
public FontFamily FontFamily { get; }

Property Value

FontFamily

FontSize

Declaration

cs-api-definition
public double FontSize { get; set; }

Property Value

double

FontStretch

Declaration

cs-api-definition
public FontStretch FontStretch { get; }

Property Value

FontStretch

FontStyle

Declaration

cs-api-definition
public FontStyle FontStyle { get; }

Property Value

FontStyle

FontWeight

Declaration

cs-api-definition
public FontWeight FontWeight { get; }

Property Value

FontWeight

Foreground

Declaration

cs-api-definition
public Brush Foreground { get; set; }

Property Value

Brush

HorizontalContentAlignment

Declaration

cs-api-definition
public HorizontalAlignment HorizontalContentAlignment { get; set; }

Property Value

HorizontalAlignment

IsEnabled

Get/set whether the control is enabled.

Declaration

cs-api-definition
public bool IsEnabled { get; set; }

Property Value

bool

Implements IControl.IsEnabled

IsTabStop

Declaration

cs-api-definition
public bool IsTabStop { get; set; }

Property Value

bool

Padding

Declaration

cs-api-definition
public Thickness Padding { get; set; }

Property Value

Thickness

TabIndex

Declaration

cs-api-definition
public int TabIndex { get; set; }

Property Value

int

TabNavigation

Declaration

cs-api-definition
public KeyboardNavigationMode TabNavigation { get; set; }

Property Value

KeyboardNavigationMode

VerticalContentAlignment

Declaration

cs-api-definition
public VerticalAlignment VerticalContentAlignment { get; set; }

Property Value

VerticalAlignment

Methods

GetRealType()

Gets the real object type. This property returns string.empty on FrameworkElement and all subclasses that inherit from it.

Declaration

cs-api-definition
public override string GetRealType()

Returns

string

Overrides FrameworkElement.GetRealType()