FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.4.5.2 Assembly / C1.Win.FlexReport Namespace / BehaviorOptions Class / IgnoreMarginsForEmptyFields Property

In This Topic
    IgnoreMarginsForEmptyFields Property (BehaviorOptions)
    In This Topic
    Gets or sets a value indicating whether for empty fields with FieldBase.AutoHeight or FieldBase.AutoWidth set to AutoSizeBehavior.CanShrink, margins and borders will have zero heights or widths in the generated report layout. The default is false. Setting this to true improves compatibility with C1Report.
    Syntax
    'Declaration
     
    Public Property IgnoreMarginsForEmptyFields As Boolean
    public bool IgnoreMarginsForEmptyFields {get; set;}
    See Also