Enum FittingModeType

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.
    A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.
    All fitting modes preserve the aspect ratio of the image contents.

    public enum FittingModeType

    Fields

    Name Description
    Center

    Image displayed in its original size (no scaling) using the Center mode.

    Fill

    Image stretched to fill the desired area (aspect ratio could be changed) using the Fill mode.

    FitHeight

    Image rows: Limit loaded image resolution to row height using the FitHeight mode.

    FitWidth

    Image columns: Limit loaded image resolution to column width using the FitWidth mode.

    ScaleToFill

    Thumbnail gallery grid: Limit loaded image resolution to screen tile using the ScaleToFill mode.

    ShrinkToFit

    Full-screen image display: Limit loaded image resolution to device resolution using the ShrinkToFit mode.

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<FittingModeType>(FittingModeType, string)
    Extensions.LoadFromXaml<FittingModeType>(FittingModeType, string)
    Extensions.LoadFromXaml<FittingModeType>(FittingModeType, Type)
    Extensions.LoadFromXamlFile<FittingModeType>(FittingModeType, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX