AutoFitToRecord Property (ViewBase)

Returns a boolean indicating whether the cell area of a DataRecordPresenter will be auto sized to the RecordPresenter itself or based on the root RecordListControl when DataPresenterBase.AutoFitResolved is true.
Protected Friend Overridable ReadOnly Property AutoFitToRecord As Boolean
protected internal virtual bool AutoFitToRecord {get;}

For XamDataPresenter.Views where the item size should dictate the size available to the RecordPresenter for the cell area, this should return true. For views such as GridView, where all the records are to be constrained by the size available within the control itself, this should return false.


Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also