ToolBarTray.GetIsLocked(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads the value of the IsLocked property from the specified element.
public:
static bool GetIsLocked(System::Windows::DependencyObject ^ element);
public static bool GetIsLocked (System.Windows.DependencyObject element);
static member GetIsLocked : System.Windows.DependencyObject -> bool
Public Shared Function GetIsLocked (element As DependencyObject) As Boolean
Parameters
- element
- DependencyObject
The element from which to read the property.
Returns
true
if the toolbar cannot be moved inside the toolbar tray; otherwise, false
. The default is false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.