Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D2D1_SUBPROPERTY enumeration

Specifies the indices of the system sub-properties that may be present in any property.

Syntax


typedef enum  { 
  D2D1_SUBPROPERTY_DISPLAYNAME       = 0x80000000,
  D2D1_SUBPROPERTY_ISREADONLY        = 0x80000001,
  D2D1_SUBPROPERTY_MIN               = 0x80000002,
  D2D1_SUBPROPERTY_MAX               = 0x80000003,
  D2D1_SUBPROPERTY_DEFAULT           = 0x80000004,
  D2D1_SUBPROPERTY_FIELDS            = 0x80000005,
  D2D1_SUBPROPERTY_INDEX             = 0x80000006
} D2D1_SUBPROPERTY;

Constants

D2D1_SUBPROPERTY_DISPLAYNAME

The name for the parent property.

D2D1_SUBPROPERTY_ISREADONLY

A Boolean indicating whether the parent property is writeable.

D2D1_SUBPROPERTY_MIN

The minimum value that can be set to the parent property.

D2D1_SUBPROPERTY_MAX

The maximum value that can be set to the parent property.

D2D1_SUBPROPERTY_DEFAULT

The default value of the parent property.

D2D1_SUBPROPERTY_FIELDS

An array of name/index pairs that indicate the possible values that can be set to the parent property.

D2D1_SUBPROPERTY_INDEX

An index sub-property used by the elements of the D2D1_SUBPROPERTY_FIELDS array.

Remarks

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1_1.h

See also

ID2D1Properties
ID2D1Properties::GetValueSize
ID2D1Properties::GetValue
ID2D1Properties::SetValue
ID2D1Properties::GetType
ID2D1Properties::GetPropertyName
ID2D1Properties::GetPropertyNameLength
ID2D1Properties::GetSubProperties

 

 

Show:
© 2017 Microsoft