Enum VisualFittingModeType

    Definition

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

    The values of this enum determine how the visual should fit into the view.

    public enum VisualFittingModeType

    Fields

    Name Description
    Center

    The visual should keep original size of image. it is not scaled and not stretched.

    DontCare

    The visual should not use fitting mode.

    Fill

    The visual should be stretched to fill, not preserving aspect ratio.

    FitHeight

    The visual should be scaled to fit, preserving aspect ratio. Height is scaled proportionately to maintain aspect ratio.

    FitKeepAspectRatio

    The visual should be scaled to fit, preserving aspect ratio.

    FitWidth

    The visual should be scaled to fit, preserving aspect ratio. WIDTH is scaled proportionately to maintain aspect ratio.

    OverFitKeepAspectRatio

    The visual should be scaled to fit, preserving aspect ratio. The visual will be filled without empty area, and outside is cropped away.

    Extension Methods

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