public PropertyRef PropertyRefFromEdge(Edge edge)
{
switch (edge)
{
case Edge.Left: return GetPropertyRef(PropLeft);
case Edge.Top: return GetPropertyRef(PropTop);
case Edge.Right: return GetPropertyRef(PropRight);
case Edge.Bottom: return GetPropertyRef(PropBottom);
default: return null;
}
}