public KeyTipAdorner(UIElement adornedElement,
			UIElement placementTarget,
			KeyTipHorizontalPlacement horizontalPlacement,
			KeyTipVerticalPlacement verticalPlacement,
			double horizontalOffset,
			double verticalOffset,
			RibbonGroup ownerRibbonGroup)
			: base(adornedElement)
		{
			PlacementTarget = (placementTarget == null ? adornedElement : placementTarget);
			HorizontalPlacement = horizontalPlacement;
			VerticalPlacement = verticalPlacement;
			HorizontalOffset = horizontalOffset;
			VerticalOffset = verticalOffset;
			OwnerRibbonGroup = ownerRibbonGroup;
		}
		public static void SetGroupSizeIndex(RibbonGroup obj, int value)
		{
			obj.SetValue(GroupSizeIndexProperty, Int100AsObject[value]);
		}
		public static int GetGroupSizeIndex(RibbonGroup obj)
		{
			return (int)obj.GetValue(GroupSizeIndexProperty);
		}
Example #4
0
 public static void SetGroupSizeIndex(RibbonGroup obj, int value)
 {
     obj.SetValue(GroupSizeIndexProperty, Int100AsObject[value]);
 }
Example #5
0
 public static int GetGroupSizeIndex(RibbonGroup obj)
 {
     return((int)obj.GetValue(GroupSizeIndexProperty));
 }