Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
D2D1_PROPERTY_BINDING
Collapse the table of content
Expand the table of content

D2D1_PROPERTY_BINDING structure

Defines a property binding to a pair of functions which get and set the corresponding property.

Syntax


typedef struct D2D1_PROPERTY_BINDING {
  PCWSTR                      propertyName;
  PD2D1_PROPERTY_SET_FUNCTION setFunction;
  PD2D1_PROPERTY_GET_FUNCTION getFunction;
} D2D1_PROPERTY_BINDING;

Members

propertyName

The name of the property.

setFunction

The function that will receive the data to set.

getFunction

The function that will be asked to write the output data.

Remarks

The propertyName is used to cross-correlate the property binding with the registration XML. The propertyName must be present in the XML call or the registration will fail. All properties must be bound.

Requirements

Minimum supported client

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

Minimum supported server

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

Minimum supported phone

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

Header

D2d1effectauthor.h

See also

ID2D1EffectImpl
ID2D1Factory::RegisterEffect

 

 

Community Additions

ADD
Show:
© 2015 Microsoft