已否决。获取或设置 PenInputPanel 对象附加到的控件。PenInputPanel 已由 Microsoft.Ink.TextInput 替换。
命名空间: Microsoft.Ink
程序集: Microsoft.Ink(在 Microsoft.Ink.dll 中)
语法
声明
Public Property AttachedEditControl As Control
用法
Dim instance As PenInputPanel
Dim value As Control
value = instance.AttachedEditControl
instance.AttachedEditControl = value
public Control AttachedEditControl { get; set; }
public:
property Control^ AttachedEditControl {
Control^ get ();
void set (Control^ value);
}
/** @property */
public Control get_AttachedEditControl()
/** @property */
public void set_AttachedEditControl(Control value)
public function get AttachedEditControl () : Control
public function set AttachedEditControl (value : Control)
属性值
类型:System.Windows.Forms.Control
PenInputPanel 对象附加到的控件。
备注
AttachedEditControl 和 AttachedEditWindow 属性是独立属性。设置一个属性不一定会更新另一个属性。请使用最初用于将 PenInputPanel 对象附加到控件或窗口的属性。
示例
此 C# 示例创建 PenInputPanel 对象 thePenInputPanel,并通过设置 AttachedEditControl 属性,将它附加到 InkEdit 控件 theInkEdit。
[C#]
// Declare and create a PenInputPanel
PenInputPanel thePenInputPanel = new PenInputPanel();
// Attach the PenInputPanel to an InkEdit control
thePenInputPanel.AttachedEditControl = theInkEdit;
此 Microsoft(R) Visual Basic(R) .NET 示例创建 PenInputPanel 对象 thePenInputPanel,并通过设置 AttachedEditControl 属性,将它附加到 InkEdit 控件 theInkEdit。
[Visual Basic]
' Declare and create a PenInputPanel
Dim thePenInputPanel As New PenInputPanel()
' Attach the PenInputPanel to an InkEdit control
thePenInputPanel.AttachedEditControl = theInkEdit
平台
Windows Vista
.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。
版本信息
.NET Framework
受以下版本支持:3.0
另请参见
参考
PenInputPanel.AttachedEditControl