AlignPropertyProvider (final RadComponent component) { if (component.getParent().getLayoutManager() instanceof AlignPropertyProvider) { return ((AlignPropertyProvider) component.getParent().getLayoutManager()); } return null; }