Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Bug] ControlTemplate custom controls not rendered #12358

Open
@LegendaryB

Description

@LegendaryB

Description

A custom control can't be placed in a ControlTemplate. It will not be rendered or visible. Also the upper parent element does not list it as a child.

Steps to Reproduce

  1. Create Control Template for a ContentPage which contains a custom control
  2. Assign it
  3. Custom control not rendered / displayed

Expected Behavior

The custom control is displayed.

Actual Behavior

The custom control is not displayed.

Basic Information

  • Version with issue:
  • Last known good version: - ´
  • IDE: MS Visual Studio 2019 Version 16.7.5
  • Platform Target Frameworks:
    • iOS: 14
    • Android: 9
  • Nuget Packages: Xamarin.Forms 4.8.0.1451, Xamarin.Essentials 1.5.3.2

Reproduction Link

ControlTemplate.zip

Workaround

Did not find any

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions