private void Disable(FlexiblePart flexiblePart, PXCMGesture.Alert alert) { if (alert.label == PXCMGesture.Alert.Label.LABEL_GEONODE_INACTIVE) { flexiblePart.IsVisible = false; } }
private void TrackOpeness(FlexiblePart part, PXCMGesture.GeoNode geoNode) { if (!part.IsVisible) { return; } if (geoNode.openness > 75) { part.IsOpen = true; } else if (geoNode.openness < 10) { part.IsOpen = false; } }