Class DetailsViewContentPresenter
Represents a class that provides the common functionalities of DetailsView Content presenter.
Inheritance
System.Object
DetailsViewContentPresenter
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class DetailsViewContentPresenter : ContentControl, IDetailsViewInfo
Constructors
DetailsViewContentPresenter()
Initializes a new instance of DetailsViewContentPresenter class.
Declaration
public DetailsViewContentPresenter()
Methods
GetExtendedWidth()
Gets the Extended width.
Declaration
public double GetExtendedWidth()
Returns
Type | Description |
---|---|
System.Double | The Extended width if the content is IDetailsViewInfo; otherwise System.Double.NaN |
OnApplyTemplate()
Invoked to apply template for the DetailsViewContentPresenter.
Declaration
public override void OnApplyTemplate()
SetClipRect(Rect)
Sets the clipping region of this Graphics to the rectangle specified by a Rectangle structure.
Declaration
public void SetClipRect(Rect rect)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Rect | rect | The specified rectangle. |
SetHorizontalOffset(Double)
Sets the horizontal offset.
Declaration
public void SetHorizontalOffset(double offset)
Parameters
Type | Name | Description |
---|---|---|
System.Double | offset | The corresponding offset value. |
SetVerticalOffset(Double)
Sets the vertical offset.
Declaration
public void SetVerticalOffset(double offset)
Parameters
Type | Name | Description |
---|---|---|
System.Double | offset | The corresponding offset value. |