Example #1
0
        static PositionalViewportUIContainer()
        {
            Type type = typeof(PositionalViewportUIContainer);

            // todo subscribe for properties changes
            HorizontalContentAlignmentProperty.AddOwner(
                type, new FrameworkPropertyMetadata(HorizontalAlignment.Center));
            VerticalContentAlignmentProperty.AddOwner(
                type, new FrameworkPropertyMetadata(VerticalAlignment.Center));
        }