윈도우 앱개발을 향하여

블로그 이미지
윈도우 10 스토어에 앱을 개발해 올리는 것을 목표로 하고 있습니다. 비전공자가 독학으로 시도하는 일이어서 얼마나 걸릴지 모르겠지만... 아무튼 목표는 그렇습니다!!
by 코딩하는 경제학도
  • Total hit
  • Today hit
  • Yesterday hit

'metadata'에 해당되는 글 5건

  1. 2018.01.02
    DependencyObject
  2. 2017.12.29
    CultureInfo description from metadata
  3. 2017.12.13
    DependencyObject description from metadata
  4. 2017.12.13
    FrameworkElement MeasureOverride and ArrangeOverride Method from metadata description
  5. 2017.12.12
    UIElement Measure and Arrange Method from metadata description

#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; }

    }

}

AND

namespace System.Globalization

{

    //

    // Summary:

    //     Provides information about a specific culture (called a locale for unmanaged

    //     code development). The information includes the names for the culture, the writing

    //     system, the calendar used, and formatting for dates and sort strings.

    public class CultureInfo : IFormatProvider

    {

        //

        // Summary:

        //     Initializes a new instance of the System.Globalization.CultureInfo class based

        //     on the culture specified by name.

        //

        // Parameters:

        //   name:

        //     A predefined System.Globalization.CultureInfo name, System.Globalization.CultureInfo.Name

        //     of an existing System.Globalization.CultureInfo, or Windows-only culture name.

        //     name is not case-sensitive.

        //

        // Exceptions:

        //   T:System.ArgumentNullException:

        //     name is null.

        //

        //   T:System.Globalization.CultureNotFoundException:

        //     name is not a valid culture name. For more information, see the Notes to Callers

        //     section.

        public CultureInfo(string name);


        //

        // Summary:

        //     Gets the System.Globalization.CultureInfo object that is culture-independent

        //     (invariant).

        //

        // Returns:

        //     The object that is culture-independent (invariant).

        public static CultureInfo InvariantCulture { get; }

        //

        // Summary:

        //     Gets or sets the default UI culture for threads in the current application domain.

        //

        // Returns:

        //     The default UI culture for threads in the current application domain, or null

        //     if the current system UI culture is the default thread UI culture in the application

        //     domain.

        //

        // Exceptions:

        //   T:System.ArgumentException:

        //     In a set operation, the System.Globalization.CultureInfo.Name property value

        //     is invalid.

        public static CultureInfo DefaultThreadCurrentUICulture { get; set; }

        //

        // Summary:

        //     Gets or sets the System.Globalization.CultureInfo object that represents the

        //     current user interface culture used by the Resource Manager to look up culture-specific

        //     resources at run time.

        //

        // Returns:

        //     The culture used by the Resource Manager to look up culture-specific resources

        //     at run time.

        //

        // Exceptions:

        //   T:System.ArgumentNullException:

        //     The property is set to null.

        //

        //   T:System.ArgumentException:

        //     The property is set to a culture name that cannot be used to locate a resource

        //     file. Resource filenames can include only letters, numbers, hyphens, or underscores.

        public static CultureInfo CurrentUICulture { get; set; }

        //

        // Summary:

        //     Gets or sets the System.Globalization.CultureInfo object that represents the

        //     culture used by the current thread.

        //

        // Returns:

        //     An object that represents the culture used by the current thread.

        //

        // Exceptions:

        //   T:System.ArgumentNullException:

        //     The property is set to null.

        public static CultureInfo CurrentCulture { get; set; }

        //

        // Summary:

        //     Gets or sets the default culture for threads in the current application domain.

        //

        // Returns:

        //     The default culture for threads in the current application domain, or null if

        //     the current system culture is the default thread culture in the application domain.

        public static CultureInfo DefaultThreadCurrentCulture { get; set; }

        //

        // Summary:

        //     Gets the culture name in the format languagefull [country/regionfull] in English.

        //

        // Returns:

        //     The culture name in the format languagefull [country/regionfull] in English,

        //     where languagefull is the full name of the language and country/regionfull is

        //     the full name of the country/region.

        public virtual string EnglishName { get; }

        //

        // Summary:

        //     Gets the System.Globalization.CultureInfo that represents the parent culture

        //     of the current System.Globalization.CultureInfo.

        //

        // Returns:

        //     The System.Globalization.CultureInfo that represents the parent culture of the

        //     current System.Globalization.CultureInfo.

        public virtual CultureInfo Parent { get; }

        //

        // Summary:

        //     Gets the list of calendars that can be used by the culture.

        //

        // Returns:

        //     An array of type System.Globalization.Calendar that represents the calendars

        //     that can be used by the culture represented by the current System.Globalization.CultureInfo.

        public virtual Calendar[] OptionalCalendars { get; }

        //

        // Summary:

        //     Gets or sets a System.Globalization.NumberFormatInfo that defines the culturally

        //     appropriate format of displaying numbers, currency, and percentage.

        //

        // Returns:

        //     A System.Globalization.NumberFormatInfo that defines the culturally appropriate

        //     format of displaying numbers, currency, and percentage.

        //

        // Exceptions:

        //   T:System.ArgumentNullException:

        //     The property is set to null.

        //

        //   T:System.InvalidOperationException:

        //     The System.Globalization.CultureInfo.NumberFormat property or any of the System.Globalization.NumberFormatInfo

        //     properties is set, and the System.Globalization.CultureInfo is read-only.

        public virtual NumberFormatInfo NumberFormat { get; set; }

        //

        // Summary:

        //     Gets the culture name, consisting of the language, the country/region, and the

        //     optional script, that the culture is set to display.

        //

        // Returns:

        //     The culture name. consisting of the full name of the language, the full name

        //     of the country/region, and the optional script. The format is discussed in the

        //     description of the System.Globalization.CultureInfo class.

        public virtual string NativeName { get; }

        //

        // Summary:

        //     Gets the culture name in the format languagecode2-country/regioncode2.

        //

        // Returns:

        //     The culture name in the format languagecode2-country/regioncode2. languagecode2

        //     is a lowercase two-letter code derived from ISO 639-1. country/regioncode2 is

        //     derived from ISO 3166 and usually consists of two uppercase letters, or a BCP-47

        //     language tag.

        public virtual string Name { get; }

        //

        // Summary:

        //     Gets a value indicating whether the current System.Globalization.CultureInfo

        //     is read-only.

        //

        // Returns:

        //     true if the current System.Globalization.CultureInfo is read-only; otherwise,

        //     false. The default is false.

        public bool IsReadOnly { get; }

        //

        // Summary:

        //     Gets a value indicating whether the current System.Globalization.CultureInfo

        //     represents a neutral culture.

        //

        // Returns:

        //     true if the current System.Globalization.CultureInfo represents a neutral culture;

        //     otherwise, false.

        public virtual bool IsNeutralCulture { get; }

        //

        // Summary:

        //     Gets the ISO 639-1 two-letter code for the language of the current System.Globalization.CultureInfo.

        //

        // Returns:

        //     The ISO 639-1 two-letter code for the language of the current System.Globalization.CultureInfo.

        public virtual string TwoLetterISOLanguageName { get; }

        //

        // Summary:

        //     Gets the System.Globalization.TextInfo that defines the writing system associated

        //     with the culture.

        //

        // Returns:

        //     The System.Globalization.TextInfo that defines the writing system associated

        //     with the culture.

        public virtual TextInfo TextInfo { get; }

        //

        // Summary:

        //     Gets or sets a System.Globalization.DateTimeFormatInfo that defines the culturally

        //     appropriate format of displaying dates and times.

        //

        // Returns:

        //     A System.Globalization.DateTimeFormatInfo that defines the culturally appropriate

        //     format of displaying dates and times.

        //

        // Exceptions:

        //   T:System.ArgumentNullException:

        //     The property is set to null.

        //

        //   T:System.InvalidOperationException:

        //     The System.Globalization.CultureInfo.DateTimeFormat property or any of the System.Globalization.DateTimeFormatInfo

        //     properties is set, and the System.Globalization.CultureInfo is read-only.

        public virtual DateTimeFormatInfo DateTimeFormat { get; set; }

        //

        // Summary:

        //     Gets the System.Globalization.CompareInfo that defines how to compare strings

        //     for the culture.

        //

        // Returns:

        //     The System.Globalization.CompareInfo that defines how to compare strings for

        //     the culture.

        public virtual CompareInfo CompareInfo { get; }

        //

        // Summary:

        //     Gets the default calendar used by the culture.

        //

        // Returns:

        //     A System.Globalization.Calendar that represents the default calendar used by

        //     the culture.

        public virtual Calendar Calendar { get; }

        //

        // Summary:

        //     Gets the full localized culture name.

        //

        // Returns:

        //     The full localized culture name in the format languagefull [country/regionfull],

        //     where languagefull is the full name of the language and country/regionfull is

        //     the full name of the country/region.

        public virtual string DisplayName { get; }


        //

        // Summary:

        //     Returns a read-only wrapper around the specified System.Globalization.CultureInfo

        //     object.

        //

        // Parameters:

        //   ci:

        //     The System.Globalization.CultureInfo object to wrap.

        //

        // Returns:

        //     A read-only System.Globalization.CultureInfo wrapper around ci.

        //

        // Exceptions:

        //   T:System.ArgumentNullException:

        //     ci is null.

        public static CultureInfo ReadOnly(CultureInfo ci);

        //

        // Summary:

        //     Creates a copy of the current System.Globalization.CultureInfo.

        //

        // Returns:

        //     A copy of the current System.Globalization.CultureInfo.

        public virtual object Clone();

        //

        // Summary:

        //     Determines whether the specified object is the same culture as the current System.Globalization.CultureInfo.

        //

        // Parameters:

        //   value:

        //     The object to compare with the current System.Globalization.CultureInfo.

        //

        // Returns:

        //     true if value is the same culture as the current System.Globalization.CultureInfo;

        //     otherwise, false.

        public override bool Equals(object value);

        //

        // Summary:

        //     Gets an object that defines how to format the specified type.

        //

        // Parameters:

        //   formatType:

        //     The System.Type for which to get a formatting object. This method only supports

        //     the System.Globalization.NumberFormatInfo and System.Globalization.DateTimeFormatInfo

        //     types.

        //

        // Returns:

        //     The value of the System.Globalization.CultureInfo.NumberFormat property, which

        //     is a System.Globalization.NumberFormatInfo containing the default number format

        //     information for the current System.Globalization.CultureInfo, if formatType is

        //     the System.Type object for the System.Globalization.NumberFormatInfo class.-or-

        //     The value of the System.Globalization.CultureInfo.DateTimeFormat property, which

        //     is a System.Globalization.DateTimeFormatInfo containing the default date and

        //     time format information for the current System.Globalization.CultureInfo, if

        //     formatType is the System.Type object for the System.Globalization.DateTimeFormatInfo

        //     class.-or- null, if formatType is any other object.

        public virtual object GetFormat(Type formatType);

        //

        // Summary:

        //     Serves as a hash function for the current System.Globalization.CultureInfo, suitable

        //     for hashing algorithms and data structures, such as a hash table.

        //

        // Returns:

        //     A hash code for the current System.Globalization.CultureInfo.

        public override int GetHashCode();

        //

        // Summary:

        //     Returns a string containing the name of the current System.Globalization.CultureInfo

        //     in the format languagecode2-country/regioncode2.

        //

        // Returns:

        //     A string containing the name of the current System.Globalization.CultureInfo.

        public override string ToString();

    }

}

AND

    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; }

    }

AND

FrameworkElement description from metadata


public class FrameworkElement : UIElement, IFrameworkElement, IFrameworkElementOverrides, IFrameworkElement2, IFrameworkElementOverrides2, IFrameworkElement3, IFrameworkElement4

    {

        //

        // Summary:

        //     Provides the behavior for the "Measure" pass of the layout cycle. Classes can

        //     override this method to define their own "Measure" pass behavior.

        //

        // Parameters:

        //   availableSize:

        //     The available size that this object can give to child objects. Infinity can be

        //     specified as a value to indicate that the object will size to whatever content

        //     is available.

        //

        // Returns:

        //     The size that this object determines it needs during layout, based on its calculations

        //     of the allocated sizes for child objects or based on other considerations such

        //     as a fixed container size.

        protected virtual Size MeasureOverride(Size availableSize);

        //

        // Summary:

        //     Provides the behavior for the "Arrange" pass of layout. Classes can override

        //     this method to define their own "Arrange" pass behavior.

        //

        // Parameters:

        //   finalSize:

        //     The final area within the parent that this object should use to arrange itself

        //     and its children.

        //

        // Returns:

        //     The actual size that is used after the element is arranged in layout.

        protected virtual Size ArrangeOverride(Size finalSize);

AND

UIElement description from metadata


public class UIElement : DependencyObject, IUIElement, IUIElementOverrides, IUIElement2, IUIElement3, IUIElement4, IUIElement5

    {

        //

        // Summary:

        //     Updates the Windows.UI.Xaml.UIElement.DesiredSize of a Windows.UI.Xaml.UIElement.

        //     Typically, objects that implement custom layout for their layout children call

        //     this method from their own Windows.UI.Xaml.FrameworkElement.MeasureOverride(Windows.Foundation.Size)

        //     implementations to form a recursive layout update.

        //

        // Parameters:

        //   availableSize:

        //     The available space that a parent can allocate to a child object. A child object

        //     can request a larger space than what is available; the provided size might be

        //     accommodated if scrolling or other resize behavior is possible in that particular

        //     container.

        public void Measure(Size availableSize);

        //

        // Summary:

        //     Positions child objects and determines a size for a Windows.UI.Xaml.UIElement.

        //     Parent objects that implement custom layout for their child elements should call

        //     this method from their layout override implementations to form a recursive layout

        //     update.

        //

        // Parameters:

        //   finalRect:

        //     The final size that the parent computes for the child in layout, provided as

        //     a Windows.Foundation.Rect value.

        public void Arrange(Rect finalRect);


이하 생략

AND

ARTICLE CATEGORY

분류 전체보기 (56)
Programming (45)
MSDN (4)
개발노트 (2)
reference (5)

RECENT ARTICLE

RECENT COMMENT

CALENDAR

«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

ARCHIVE