To behave politely; to mind one's manners—act with proper etiquette in public or before elders.
子どもには外で行儀よくするように教えている。
I teach my children to behave politely in public.
お客様の前では行儀よくすることが必要だ。
You need to behave properly in front of guests.
食事の席では行儀よくするのがマナーだ。
It's good manners to behave properly at the dining table.