CommandBarsClass.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
'宣告
Public Overridable Property MenuAnimationStyle As MsoMenuAnimation
Get
Set
'用途
Dim instance As CommandBarsClass
Dim value As MsoMenuAnimation
value = instance.MenuAnimationStyle
instance.MenuAnimationStyle = value
public virtual MsoMenuAnimation MenuAnimationStyle { get; set; }
public:
virtual property MsoMenuAnimation MenuAnimationStyle {
MsoMenuAnimation get ();
void set (MsoMenuAnimation value);
}
abstract MenuAnimationStyle : MsoMenuAnimation with get, set
override MenuAnimationStyle : MsoMenuAnimation with get, set
function get MenuAnimationStyle () : MsoMenuAnimation
function set MenuAnimationStyle (value : MsoMenuAnimation)
Property Value
Type: Microsoft.VisualStudio.CommandBars.MsoMenuAnimation
Always returns msoMenuAnimationNone.
Implements
_CommandBars.MenuAnimationStyle
Remarks
Notes to Inheritors
This property should always return msoMenuAnimationNone. Attempting to set this property with any other value should cause an exception to be thrown.
.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.