共用方式為


_CommandBars.MenuAnimationStyle Property

Gets or sets the kind of animation style that is used when menus are displayed. Always returns msoMenuAnimationNone.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'宣告
Property MenuAnimationStyle As MsoMenuAnimation
    Get
    Set
'用途
Dim instance As _CommandBars
Dim value As MsoMenuAnimation

value = instance.MenuAnimationStyle

instance.MenuAnimationStyle = value
MsoMenuAnimation MenuAnimationStyle { get; set; }
property MsoMenuAnimation MenuAnimationStyle {
    MsoMenuAnimation get ();
    void set (MsoMenuAnimation value);
}
abstract MenuAnimationStyle : MsoMenuAnimation with get, set
function get MenuAnimationStyle () : MsoMenuAnimation
function set MenuAnimationStyle (value : MsoMenuAnimation)

Property Value

Type: Microsoft.VisualStudio.CommandBars.MsoMenuAnimation
Always returns msoMenuAnimationNone.

Remarks

Attempting to set this property with any other value will cause an exception to be thrown.

.NET Framework Security

See Also

Reference

_CommandBars Interface

_CommandBars Members

Microsoft.VisualStudio.CommandBars Namespace