LayoutInflater.From(Context) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从给定上下文中获取 LayoutInflater。
[Android.Runtime.Register("from", "(Landroid/content/Context;)Landroid/view/LayoutInflater;", "")]
public static Android.Views.LayoutInflater? From(Android.Content.Context? context);
[<Android.Runtime.Register("from", "(Landroid/content/Context;)Landroid/view/LayoutInflater;", "")>]
static member From : Android.Content.Context -> Android.Views.LayoutInflater
参数
- context
- Context
用于上下文的 Android.Content.Context 值。
返回
操作的结果。
- 特性
注解
从给定上下文中获取 LayoutInflater。
Java文档android.view.LayoutInflater.from(android.content.Context)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。