This commit is contained in:
jkuehner 2015-12-23 11:52:05 +01:00
Родитель c5448e4d1d
Коммит 7f1405e819
2 изменённых файлов: 39 добавлений и 18 удалений

Просмотреть файл

@ -45,43 +45,61 @@ namespace ICSharpCode.WpfDesign.XamlDom
}
/// <summary>
/// Class-Name
/// Class-Name Property
/// </summary>
public static readonly DependencyProperty ClassProperty =
DependencyProperty.RegisterAttached("Class", typeof(string), typeof(XamlNamespaceProperties));
DependencyProperty.RegisterAttached("Class", typeof(string), typeof(XamlNamespaceProperties));
#endregion
#region ClassModifier
/// <summary>
/// Getter for the <see cref="ClassModifierProperty"/>
/// </summary>
public static string GetClassModifier(DependencyObject obj)
{
return (string)obj.GetValue(ClassModifierProperty);
}
}
/// <summary>
/// Setter for the <see cref="ClassModifierProperty"/>
/// </summary>
public static void SetClassModifier(DependencyObject obj, string value)
{
obj.SetValue(ClassModifierProperty, value);
}
}
/// <summary>
/// Class Modifier Property
/// </summary>
public static readonly DependencyProperty ClassModifierProperty =
DependencyProperty.RegisterAttached("ClassModifier", typeof(string), typeof(XamlNamespaceProperties));
DependencyProperty.RegisterAttached("ClassModifier", typeof(string), typeof(XamlNamespaceProperties));
#endregion
#region TypeArguments
/// <summary>
/// Getter for the <see cref="TypeArgumentsProperty"/>
/// </summary>
public static string GetTypeArguments(DependencyObject obj)
{
return (string)obj.GetValue(TypeArgumentsProperty);
}
}
/// <summary>
/// Getter for the <see cref="TypeArgumentsProperty"/>
/// </summary>
public static void SetTypeArguments(DependencyObject obj, string value)
{
obj.SetValue(TypeArgumentsProperty, value);
}
}
/// <summary>
/// Type Arguments Property
/// </summary>
public static readonly DependencyProperty TypeArgumentsProperty =
DependencyProperty.RegisterAttached("TypeArguments", typeof(string), typeof(XamlNamespaceProperties));

Просмотреть файл

@ -46,6 +46,9 @@ namespace ICSharpCode.WpfDesign
IPlacementBehavior currentContainerBehavior;
bool isAborted, isCommitted;
/// <summary>
/// Offset for inserted Components
/// </summary>
public const double PasteOffset = 10;
#region Properties