FocusNavigationRequest.Create Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
Create(FocusNavigationReason) |
Создает экземпляр FocusNavigationRequest , используя указанный FocusNavigationReason. |
Create(FocusNavigationReason, Rect) |
Создает экземпляр FocusNavigationRequest , используя указанные FocusNavigationReason и указание Rect. |
Create(FocusNavigationReason, Rect, Guid) |
Создает экземпляр FocusNavigationRequest , используя указанный FocusNavigationReason, подсказку Rect и уникальный идентификатор. |
Create(FocusNavigationReason)
Создает экземпляр FocusNavigationRequest , используя указанный FocusNavigationReason.
public:
static FocusNavigationRequest ^ Create(FocusNavigationReason reason);
/// [Windows.Foundation.Metadata.Overload("Create")]
static FocusNavigationRequest Create(FocusNavigationReason const& reason);
[Windows.Foundation.Metadata.Overload("Create")]
public static FocusNavigationRequest Create(FocusNavigationReason reason);
function create(reason)
Public Shared Function Create (reason As FocusNavigationReason) As FocusNavigationRequest
Параметры
- reason
- FocusNavigationReason
Причина события навигации по фокусу.
Возвращаемое значение
Объект FocusNavigationRequest .
- Атрибуты
Применяется к
Create(FocusNavigationReason, Rect)
Создает экземпляр FocusNavigationRequest , используя указанные FocusNavigationReason и указание Rect.
public:
static FocusNavigationRequest ^ Create(FocusNavigationReason reason, Rect hintRect);
/// [Windows.Foundation.Metadata.Overload("CreateWithHintRect")]
static FocusNavigationRequest Create(FocusNavigationReason const& reason, Rect const& hintRect);
[Windows.Foundation.Metadata.Overload("CreateWithHintRect")]
public static FocusNavigationRequest Create(FocusNavigationReason reason, Rect hintRect);
function create(reason, hintRect)
Public Shared Function Create (reason As FocusNavigationReason, hintRect As Rect) As FocusNavigationRequest
Параметры
- reason
- FocusNavigationReason
Причина события навигации по фокусу.
- hintRect
- Rect
Ограничивающий прямоугольник, используемый для идентификации кандидатов фокуса, которые, скорее всего, получат фокус навигации.
Возвращаемое значение
Объект FocusNavigationRequest .
- Атрибуты
Применяется к
Create(FocusNavigationReason, Rect, Guid)
Создает экземпляр FocusNavigationRequest , используя указанный FocusNavigationReason, подсказку Rect и уникальный идентификатор.
public:
static FocusNavigationRequest ^ Create(FocusNavigationReason reason, Rect hintRect, Platform::Guid correlationId);
/// [Windows.Foundation.Metadata.Overload("CreateWithHintRectAndId")]
static FocusNavigationRequest Create(FocusNavigationReason const& reason, Rect const& hintRect, winrt::guid const& correlationId);
[Windows.Foundation.Metadata.Overload("CreateWithHintRectAndId")]
public static FocusNavigationRequest Create(FocusNavigationReason reason, Rect hintRect, Guid correlationId);
function create(reason, hintRect, correlationId)
Public Shared Function Create (reason As FocusNavigationReason, hintRect As Rect, correlationId As Guid) As FocusNavigationRequest
Параметры
- reason
- FocusNavigationReason
Причина события навигации по фокусу.
- hintRect
- Rect
Ограничивающий прямоугольник, используемый для идентификации кандидатов фокуса, которые, скорее всего, получат фокус навигации.
- correlationId
-
Guid
Platform::Guid
winrt::guid
Уникальный идентификатор, созданный при инициации события перемещения фокуса.
Возвращаемое значение
Объект FocusNavigationRequest .
- Атрибуты