public object SelectionChangedCommandParameter { set; get; }
/// <summary>
- /// Size strategy of measuring scroll content. see details in ItemSizingStrategy.
- /// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
- public ItemSizingStrategy SizingStrategy { get; set; }
-
- /// <summary>
/// Header item which placed in top-most position.
/// note : internal index and count will be increased.
/// </summary>
}
}
-
/// <summary>
/// Internal encapsulated items data source.
/// </summary>
base.InternalItemSource = value;
}
}
+
+ /// <summary>
+ /// Size strategy of measuring scroll content. see details in ItemSizingStrategy.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ internal ItemSizingStrategy SizingStrategy { get; set; }
+
/// <inheritdoc/>
[EditorBrowsable(EditorBrowsableState.Never)]
public override void OnRelayout(Vector2 size, RelayoutContainer container)
[EditorBrowsable(EditorBrowsableState.Never)]
public enum ItemSizingStrategy
{
-
+ /// <summary>
+ /// Measure first item and deligate size for all items.
+ /// if template is selector, the size of first item from each template will be deligated.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ MeasureFirst,
/// <summary>
/// Measure all items in advanced.
/// Estimate first item size for all, and when scroll reached position,
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
MeasureAll,
- /// <summary>
- /// Measure first item and deligate size for all items.
- /// if template is selector, the size of first item from each template will be deligated.
- /// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
- MeasureFirst,
}
}