View.DragShadowBuilder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
View.DragShadowBuilder() |
Construct a shadow builder object with no associated View. |
View.DragShadowBuilder(View) |
Constructs a shadow image builder based on a View. |
View.DragShadowBuilder(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
View.DragShadowBuilder()
Construct a shadow builder object with no associated View.
[Android.Runtime.Register(".ctor", "()V", "")]
public DragShadowBuilder ();
- Attributes
Remarks
Construct a shadow builder object with no associated View. This constructor variant is only useful when the #onProvideShadowMetrics(Point, Point)
and #onDrawShadow(Canvas)
methods are also overridden in order to supply the drag shadow's dimensions and appearance without reference to any View object.
Java documentation for android.view.View.DragShadowBuilder.View$DragShadowBuilder()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
View.DragShadowBuilder(View)
Constructs a shadow image builder based on a View.
[Android.Runtime.Register(".ctor", "(Landroid/view/View;)V", "")]
public DragShadowBuilder (Android.Views.View? view);
[<Android.Runtime.Register(".ctor", "(Landroid/view/View;)V", "")>]
new Android.Views.View.DragShadowBuilder : Android.Views.View -> Android.Views.View.DragShadowBuilder
Parameters
- view
- View
A View. Any View in scope can be used.
- Attributes
Remarks
Constructs a shadow image builder based on a View. By default, the resulting drag shadow will have the same appearance and dimensions as the View, with the touch point over the center of the View.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
View.DragShadowBuilder(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected DragShadowBuilder (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.View.DragShadowBuilder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.View.DragShadowBuilder
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.