Partager via


IXRDependencyObject (Windows Embedded CE 6.0)

1/6/2010

This class is the base class for objects that can both register and own dependency properties in the dependency property system for Silverlight for Windows Embedded.

This class supports the methods on the IUnknown interface.

Syntax

class IXRDependencyObject: public IUnknown

Methods

Method Description

IXRDependencyObject::GetAttachedProperty

Retrieves the value of the specified attached property.

IXRDependencyObject::GetName

Retrieves the name of this dependency object.

IXRDependencyObject::SetAttachedProperty

Sets the specified attached property to the specified value.

IXRDependencyObject::SetName

Sets the name of this dependency object.

Remarks

This is the base object from which most other objects that are used in Silverlight applications are derived. These derived objects are also dependency objects and can represent user-interface (UI) elements, collections, or characteristics that define appearance and behavior.

All these dependency objects can support dependency properties. A dependency property is a property that depends on several other sources for its final, calculated value. Several factors can influence the value of a dependency property value, such as the properties of related UI objects in the presentation layout.

Dependency properties are supported by the Silverlight dependency property system. The primary method of the dependency property system is to compute the value of properties, and to provide system notification about values that have changed.

The IXRDependencyObject class enables dependency property system services on its many derived classes.

IXRDependencyObject services and characteristics include the following:

  • Support for hosting dependency properties
  • Support for hosting attached properties
  • Support for Get and Set utility methods, for accessing and modifying values of any dependency properties that exist on an IXRDependencyObject derived object
  • A base class for IXRUIElement, from which various UI objects are derived

Inheritance Hierarchy

IXRDependencyObject

    IXRBrush

        IXRGradientBrush

            IXRLinearGradientBrush

            IXRRadialGradientBrush

        IXRSolidColorBrush

        IXRTileBrush

            IXRImageBrush

    IXRCacheMode

        IXRBitmapCache

    IXRCollection<In_T, Out_T>

    IXRColorKeyFrame

        IXRDiscreteColorKeyFrame

        IXRLinearColorKeyFrame

        IXRSplineColorKeyFrame

    IXRColumnDefinition

    IXRControlTemplate

    IXRDoubleKeyFrame

        IXRDiscreteDoubleKeyFrame

        IXRLinearDoubleKeyFrame

        IXRSplineDoubleKeyFrame

    IXRDrawingAttributes

    IXRGeneralTransform

        IXRTransform

            IXRMatrixTransform

            IXRRotateTransform

            IXRScaleTransform

            IXRSkewTransform

            IXRTransformGroup

            IXRTranslateTransform

    IXRGeometry

        IXREllipseGeometry

        IXRGeometryGroup

        IXRLineGeometry

        IXRPathGeometry

        IXRRectangleGeometry

    IXRGradientStop

    IXRImageSource

        IXRBitmapImage

    IXRInline

        IXRLineBreak

        IXRRun

    IXRKeySpline

    IXRMatrix

    IXRObjectKeyFrame

        IXRDiscreteObjectKeyFrame

    IXRPathFigure

    IXRPathSegment

    IXRPointKeyFrame

        IXRDiscretePointKeyFrame

        IXRLinearPointKeyFrame

        IXRSplinePointKeyFrame

    IXRResourceDictionary

    IXRRowDefinition

    IXRSetterBase

        IXRSetter

    IXRStroke

    IXRStyle

    IXRStylusInfo

    IXRStylusPoint

    IXRTimeline

        IXRColorAnimation

        IXRColorAnimationUsingKeyFrames

        IXRDoubleAnimation

        IXRDoubleAnimationUsingKeyFrames

        IXRObjectAnimationUsingKeyFrames

        IXRPointAnimation

        IXRPointAnimationUsingKeyFrames

        IXRStoryboard

    IXRTriggerAction

        IXRBeginStoryboard

    IXRTriggerBase

        IXREventTrigger

    IXRUIElement

        IXRFrameworkElement

            IXRBorder

            IXRControl

                IXRContentControl

                    IXRButtonBase

                    IXRComboBoxItem

                    IXRListBoxItem

                    IXRScrollViewer

                    IXRToolTip

                IXRContentPresenter

                IXRItemsControl

                IXRPasswordBox

                IXRRangeBase

                IXRTextBox

                IXRThumb

                IXRUserControl

                IXRWin32Control

            IXRGlyphs

            IXRImage

            IXRItemsPresenter

            IXRPanel

                IXRCanvas

                IXRGrid

               IXRStackPanel

            IXRPopup

            IXRShape

            IXRTextBlock

    IXRVisualState

    IXRVisualStateGroup

    IXRVisualTransition

.NET Framework Equivalent

System.Windows.DependencyObject

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Classes for Application Management