Add sample for logical resource with x:Name