Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the parent object for the MaskedTextBox.
Namespace: Microsoft.Office.Tools.Excel.Controls
Assembly: Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
Syntax
'Declaration
Public ReadOnly Property Parent As Object
Get
public Object Parent { get; }
Property Value
Type: System.Object
The parent object for the MaskedTextBox.
Remarks
The parent of a MaskedTextBox is a container control that connects the MaskedTextBox with the document, not the Range that contains the MaskedTextBox.
The parent of a MaskedTextBox can only be accessed as an Object.
Examples
For a code example that demonstrates how to use this property, see Button.Parent. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent Parent property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.