Hyperlink.Focus(FocusState) 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.
Attempts to set the focus on the hyperlink.
public:
virtual bool Focus(FocusState value) = Focus;
bool Focus(FocusState const& value);
public bool Focus(FocusState value);
function focus(value)
Public Function Focus (value As FocusState) As Boolean
Parameters
- value
- FocusState
Specifies how focus was set, as a value of the enumeration.
Returns
Boolean
bool
true if focus was set to the hyperlink, or focus was already on the hyperlink. false if the hyperlink is not focusable.
Remarks
For more info, see UIElement.Focus(Microsoft.UI.Xaml.FocusState).
Applies to
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin