RichTextBlock.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.
Focuses the RichTextBlock, as if it were a conventionally focusable control.
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 the desired target for focus state, as a value of the enumeration.
Returns
Boolean
bool
true if focus was set to the RichTextBlock, or focus was already there. false if the RichTextBlock is not focusable.
Remarks
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for