Type

CommandButtonControl.Type property

Forms 2.0 denetiminin türünü alır.

public override Forms2OleControlType Type { get; }

Örnekler

ActiveX denetiminin nasıl ekleneceğini gösterir.

DocumentBuilder builder = new DocumentBuilder();

CommandButtonControl button1 = new CommandButtonControl();
Shape shape = builder.InsertForms2OleControl(button1);
Assert.AreEqual(Forms2OleControlType.CommandButton, button1.Type);

Ayrıca bakınız