Compartilhar via


MaskedTextBox.PrintObject Property

Definition

Gets or sets a value that indicates whether the MaskedTextBox is printed when the worksheet is printed.

public:
 property bool PrintObject { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool PrintObject { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.PrintObject : bool with get, set
Public Property PrintObject As Boolean

Property Value

true if the MaskedTextBox is printed when the worksheet is printed; otherwise, false.

Attributes

Examples

For a code example that demonstrates how to use this property, see Microsoft.Office.Tools.Excel.Controls.Button.PrintObject. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent PrintObject property.

Applies to