public ServerPropertyControl(ServerProperty property, PropertyChangedEventHandler handler = null)
        {
            Property = property;
            mainGrid = new Grid {
                Margin = new Thickness(4)
            };

            if (ServerProperties.IsTrueFalse(property.OriginalName))
            {
                AddCheckBox(property.Name, property.Value == "true");
            }

            else
            {
                SetDualGrid(property.Name);

                if (ServerProperties.IsInteger(property.OriginalName))
                {
                    AddIntBox(property.Value);
                }

                else if (ServerProperties.IsMultiChoice(property.OriginalName))
                {
                    AddComboBox(ServerProperties.GetMultiChoices(property.OriginalName), property.Value);
                }

                else
                {
                    AddTextBox(property.Value);
                }

                Grid.SetColumn(mainGrid.Children[mainGrid.Children.Count - 1], 1);
            }

            AddChild(mainGrid);
            PropertyChanged = handler;
        }