Yahoo Search Búsqueda en la Web

Resultado de búsqueda

  1. 14 de may. de 2024 · En .NET Multi-platform App UI (.NET MAUI), CollectionView es una vista para presentar listas de datos mediante distintas especificaciones de diseño. Su objetivo es ofrecer una alternativa a ListView más flexible y con mejor rendimiento. En la captura de pantalla siguiente se muestra un CollectionView que usa una cuadrícula vertical de dos ...

  2. UICollectionView基础知识. collection view 是运用一个灵活多变的布局呈现一系列有序数据项的一种方法。. collection view最通常的使用使用像网格状排列来呈现数据项,但是 iOS 的 collection view 的能力不仅限于行和列。. 使用 collection views, 视觉元素的精确布局可通过子类化 ...

  3. The collection view sets the location of each cell automatically using the layout attributes provided by its layout object. If isPrefetchingEnabled on the collection view is set to true then this method is called in advance of the cell appearing. Use the collectionView(_:willDisplay:forItemAt:) delegate method to make any changes to the ...

  4. 17 de abr. de 2018 · The main steps of creating your first UICollectionView based screen are these: Drag a UICollectionView object to your view controller. Set proper constraints on the collection view. Set dataSource & delegate of the collection view. Prototype your cell layout inside the controller. Add constraints to your views inside the cell.

  5. 14 de may. de 2024 · 显示另外 5 个. 浏览示例. .NET Multi-platform App UI (.NET MAUI) CollectionView 定义以下控制布局的属性:. ItemsLayout ,类型为 IItemsLayout ,指定要使用的布局。. ItemSizingStrategy ,类型为 ItemSizingStrategy ,指定要使用的项度量策略。. 这些属性由 BindableProperty 对象提供支持,这 ...

  6. 若要为仅实现 IEnumerable的集合创建集合视图,请创建 一个 CollectionViewSource 对象,将集合添加到 Source 属性,然后从 View 属性获取集合视图。 可以将集合视图视为绑定源集合之上的一层,该集合允许你根据排序、筛选和分组查询导航和显示集合,所有这些操作都无需操作基础源集合本身。

  7. 6 de oct. de 2023 · In this article. Browse the sample. The .NET Multi-platform App UI (.NET MAUI) CollectionView defines the following properties that can be used to provide user feedback when there's no data to display: EmptyView, of type object, the string, binding, or view that will be displayed when the ItemsSource property is null, or when the collection specified by the ItemsSource property is null or empty.