FlexReport for .NET | ComponentOne
C1.WPF.Report Assembly / C1.WPF.Report 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