#region Assembly Windows.Foundation.UniversalApiContract, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime
// C:\Program Files (x86)\Windows Kits\10\References\10.0.15063.0\Windows.Foundation.UniversalApiContract\4.0.0.0\Windows.Foundation.UniversalApiContract.winmd
#endregion
using Windows.Foundation;
using Windows.Foundation.Metadata;
using Windows.UI.Core;
namespace Windows.UI.Xaml
{
//
// Summary:
// Represents an object that participates in the dependency property system. Windows.UI.Xaml.DependencyObject
// is the immediate base class of many important UI-related classes, such as Windows.UI.Xaml.UIElement,
// Windows.UI.Xaml.Media.Geometry, Windows.UI.Xaml.FrameworkTemplate, Windows.UI.Xaml.Style,
// and Windows.UI.Xaml.ResourceDictionary.
[Composable(typeof(IDependencyObjectFactory), CompositionType.Protected, 65536, "Windows.Foundation.UniversalApiContract")]
[ContractVersion(typeof(UniversalApiContract), 65536)]
[MarshalingBehavior(MarshalingType.Agile)]
[Threading(ThreadingModel.Both)]
[WebHostHidden]
public class DependencyObject : IDependencyObject, IDependencyObject2
{
//
// Summary:
// Provides base class initialization behavior for Windows.UI.Xaml.DependencyObject
// derived classes.
protected DependencyObject();
//
// Summary:
// Returns the current effective value of a dependency property from a Windows.UI.Xaml.DependencyObject.
//
// Parameters:
// dp:
// The Windows.UI.Xaml.DependencyProperty identifier of the property for which to
// retrieve the value.
//
// Returns:
// Returns the current effective value.
public object GetValue(DependencyProperty dp);
//
// Summary:
// Sets the local value of a dependency property on a Windows.UI.Xaml.DependencyObject.
//
// Parameters:
// dp:
// The identifier of the dependency property to set.
//
// value:
// The new local value.
public void SetValue(DependencyProperty dp, object value);
//
// Summary:
// Clears the local value of a dependency property.
//
// Parameters:
// dp:
// The Windows.UI.Xaml.DependencyProperty identifier of the property for which to
// clear the value.
public void ClearValue(DependencyProperty dp);
//
// Summary:
// Returns the local value of a dependency property, if a local value is set.
//
// Parameters:
// dp:
// The Windows.UI.Xaml.DependencyProperty identifier of the property for which to
// retrieve the local value.
//
// Returns:
// Returns the local value, or returns the sentinel value Windows.UI.Xaml.DependencyProperty.UnsetValue
// if no local value is set.
public object ReadLocalValue(DependencyProperty dp);
//
// Summary:
// Returns any base value established for a dependency property, which would apply
// in cases where an animation is not active.
//
// Parameters:
// dp:
// The identifier for the desired dependency property.
//
// Returns:
// The returned base value.
public object GetAnimationBaseValue(DependencyProperty dp);
//
// Summary:
// Registers a notification function for listening to changes to a specific Windows.UI.Xaml.DependencyProperty
// on this Windows.UI.Xaml.DependencyObject instance.
//
// Parameters:
// dp:
// The dependency property identifier of the property to register for property-changed
// notification.
//
// callback:
// A callback based on the Windows.UI.Xaml.DependencyPropertyChangedCallback delegate,
// which the system invokes when the value of the specified property changes.
//
// Returns:
// A token that represents the callback, used to identify the callback in calls
// to Windows.UI.Xaml.DependencyObject.UnregisterPropertyChangedCallback(Windows.UI.Xaml.DependencyProperty,System.Int64).
public long RegisterPropertyChangedCallback(DependencyProperty dp, DependencyPropertyChangedCallback callback);
//
// Summary:
// Cancels a change notification that was previously registered by calling Windows.UI.Xaml.DependencyObject.RegisterPropertyChangedCallback(Windows.UI.Xaml.DependencyProperty,Windows.UI.Xaml.DependencyPropertyChangedCallback).
//
// Parameters:
// dp:
// The dependency property identifier of the property to unregister for property-changed
// notification.
//
// token:
// A token that represents the callback (returned by Windows.UI.Xaml.DependencyObject.RegisterPropertyChangedCallback(Windows.UI.Xaml.DependencyProperty,Windows.UI.Xaml.DependencyPropertyChangedCallback)
// ).
public void UnregisterPropertyChangedCallback(DependencyProperty dp, long token);
//
// Summary:
// Gets the Windows.UI.Core.CoreDispatcher that this object is associated with.
// The Windows.UI.Core.CoreDispatcher represents a facility that can access the
// Windows.UI.Xaml.DependencyObject on the UI thread even if the code is initiated
// by a non-UI thread.
//
// Returns:
// The Windows.UI.Core.CoreDispatcher that Windows.UI.Xaml.DependencyObject object
// is associated with, which represents the UI thread.
public CoreDispatcher Dispatcher { get; }
}
}
'reference > VS metadata' 카테고리의 다른 글
CultureInfo description from metadata (0) | 2017.12.29 |
---|---|
DependencyObject description from metadata (0) | 2017.12.13 |
FrameworkElement MeasureOverride and ArrangeOverride Method from metadata description (0) | 2017.12.13 |
UIElement Measure and Arrange Method from metadata description (0) | 2017.12.12 |