Cannot find source for binding with reference in nested Style / DataGrid DataTemplates

I have a Control (ZlsUnitBrowserActive) with two DependencyProperties MaxWidthIdentifier/PropertiesDataTemplate. I’m stuck when try to bind these two properties in the Style: System.Windows.Data Error: 4 : Cannot find source for binding with reference ‘RelativeSource FindAncestor, AncestorType=’PlcFramework.Zls.Production.ProductionControls.ZlsUnitBrowserActive’, AncestorLevel=’1”. BindingExpression:Path=PropertiesDataTemplate; DataItem=null; target element is ‘DataGridTemplateColumn’ (HashCode=30225241); target property is ‘CellTemplate’ (type ‘DataTemplate’) <Style TargetType=”productionControls:ZlsUnitBrowserActive”> <Style.Setters> <Setter Property=”Template”> <Setter.Value>…

Details

How to drag and drop rows of a table

In my view.xml file: <html:div class=”container-fluid”> <html:div class=”row”> <Table id=”ConnectorModuleTable” items=”{ path: ‘/datalist’}”> <columns> <Column ><Text text=”Connector Module”/></Column> <Column ><Text text=”Setting A”/></Column> <Column ><Text text=”Setting B”/></Column> <Column ><Text text=”Custom Pin”/></Column> <Column ><Text text=”Actions”/></Column> </columns> <items> <ColumnListItem> <cells> <Text text=”{Connectormodule}” wrapping=”false” /> <Text text=”{settingA}” wrapping=”false” /> <Text text=”{settingB}” wrapping=”false” /> <Text text=”{settingB}” wrapping=”false” /> </cells> </ColumnListItem>…

Details