protected override void CreateChildElements() { base.CreateChildElements(); this.reflectionPrimitive = new ReflectionPrimitive(this.HostedItem); this.Children.Add(this.reflectionPrimitive); }
protected override void CreateChildElements() { base.CreateChildElements(); this.imagePrimitive = new ImagePrimitive(); this.Children.Add(this.imagePrimitive); this.reflectionPrimitive = new ReflectionPrimitive(this.imagePrimitive); this.reflectionPrimitive.ItemReflectionPercentage = 0.5; this.Children.Add(this.reflectionPrimitive); }