Table of Contents

Property HasPrintersOverride

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

HasPrintersOverride

Gets or sets an override function that determines whether printers are available on the system. The function should return a nullable boolean value: true if printers are available, false if not, or null to indicate that it is not possible to determine the printer availability.

public static Func<bool?>? HasPrintersOverride { get; set; }

Property Value

Func<bool?>

Remarks

Assign a delegate to this property to provide custom logic for evaluating printer override status at runtime. This can be useful in scenarios where printer configuration may change based on user preferences, application state, or other dynamic conditions. If the function returns null, the default printer behavior is used.