IScrollSnapPointsInfo Interface
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.
Describes snap point behavior for objects that contain and present items.
public interface class IScrollSnapPointsInfo
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(459084598, 58907, 19793, 190, 65, 253, 141, 220, 85, 197, 140)]
struct IScrollSnapPointsInfo
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(459084598, 58907, 19793, 190, 65, 253, 141, 220, 85, 197, 140)]
public interface IScrollSnapPointsInfo
Public Interface IScrollSnapPointsInfo
- Derived
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Properties
AreHorizontalSnapPointsRegular |
Gets a value that indicates whether the horizontal snap points for the container are equidistant from each other. |
AreVerticalSnapPointsRegular |
Gets a value that indicates whether the vertical snap points for the container are equidistant from each other. |
Methods
GetIrregularSnapPoints(Orientation, SnapPointsAlignment) |
Returns the set of distances between irregular snap points for a specified orientation and alignment. |
GetRegularSnapPoints(Orientation, SnapPointsAlignment, Single) |
Gets the distance between regular snap points for a specified orientation and alignment. |
Events
HorizontalSnapPointsChanged |
Occurs when the measurements for horizontal snap points change. |
VerticalSnapPointsChanged |
Occurs when the measurements for vertical snap points change. |
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro