RibbonGalleryItem.IsPressed Property
Gets a value that indicates whether the left mouse button or the SPACEBAR is pressed over the item.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Property IsPressed As Boolean
public bool IsPressed { get; private set; }
public:
property bool IsPressed {
bool get ();
private: void set (bool value);
}
member IsPressed : bool with get, private set
function get IsPressed () : boolean
private function set IsPressed (value : boolean)
Property Value
Type: System.Boolean
true if the left mouse button or the SPACEBAR is pressed over the item; otherwise, false. The default is false.
Dependency Property Information
Identifier field |
|
Metadata properties set to true |
None |
.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.