/*
         * Create a lebel and an input field for each one of the network element attributes
         */
        private void CreateAttributesControls()
        {
            /*
             * The windows header
             */
            TextBox_Name.Text = "Element of type : " + networkElement.GetType().ToString();

            /*
             * Add Attributes controls
             */
            foreach (var elementAttribute in networkElement[ElementDictionaries.ElementAttributes].Value)
            {
                string keyString     = TypesUtility.GenerateKeyString(elementAttribute.Key);
                string attributeName = TypesUtility.GetEnumValueToString(elementAttribute.Key);
                StackPanel_AttributeNames.Children.Add(CreateLabel("Label_Attribute_key_" + keyString, attributeName));
                Control control = Attribute.CreateInputField(elementAttribute.Value.Value, TypesUtility.GetEnumValueToString(elementAttribute.Key), elementAttribute.Value.Editable, Ediatble);
                control.Name = "AttributeInput_" + keyString;
                SetControl(control);
                StackPanel_AttributeValues.Children.Add(control);
            }

            foreach (var privateAttribute in networkElement[ElementDictionaries.PrivateAttributes].Value)
            {
                string keyString = TypesUtility.GenerateKeyString(privateAttribute.Key);
                StackPanel_AttributeNames.Children.Add(CreateLabel("Label_Attribute_key_" + keyString, keyString));
                Control control = Attribute.CreateInputField(privateAttribute.Value.Value, TypesUtility.GetEnumValueToString(privateAttribute.Key), privateAttribute.Value.Editable, Ediatble);
                control.Name = "AttributeInput_" + keyString;
                SetControl(control);
                StackPanel_AttributeValues.Children.Add(control);
            }

            /*
             * Set the windows height according to the number of the attributes
             */
            SetWindowHeight();
        }