次の方法で共有


IXRMouseDragElementBehavior.SetConstrainToParentBounds(BOOL) (Compact 2013)

3/28/2014

This method sets the ConstrainToParentBounds property.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetConstrainToParentBounds(
BOOL Value)

Parameters

  • Value
    [in] When set to true, constrains the child to the parent’s bounds. Does not constrain the child when set to false.

Return Value

Implement this method so that it returns S_OK if successful; otherwise, return the appropriate HRESULT value to indicate that the method was not successful.

Remarks

See Also

Reference

IXRMouseDragElementBehavior